diff --git a/Git.sketchplugin/exportArtboard.sh b/Git.sketchplugin/exportArtboard.sh index 9097382..b18ecf4 100755 --- a/Git.sketchplugin/exportArtboard.sh +++ b/Git.sketchplugin/exportArtboard.sh @@ -33,9 +33,9 @@ mkdir -p "$FILE_FOLDER" if [[ ${INCLUDE_OVERVIEW} == "true" ]] then readmeFile="./${FILENAME%.*}-boards.md" # Exclude the file extension - echo "# Artboards" > ${readmeFile} - echo "" >> ${readmeFile} - echo "This is an autogenerated file showing all the artboards. Do not edit it directly." >> ${readmeFile} + echo "# Artboards" > "${readmeFile}" + echo "" >> "${readmeFile}" + echo "This is an autogenerated file showing all the artboards. Do not edit it directly." >> "${readmeFile}" fi # compare new artboards with the old ones @@ -58,11 +58,11 @@ do if [[ ${INCLUDE_OVERVIEW} == "true" ]] then artboardName="${artboard%.*}" # Exclude the file extension - echo "" >> ${readmeFile} - echo "## ${artboardName}" >> ${readmeFile} - echo "" >> ${readmeFile} - echo "![${artboardName}](./${artboardPath})" >> ${readmeFile} - echo "" >> ${readmeFile} + echo "" >> "${readmeFile}" + echo "## ${artboardName}" >> "${readmeFile}" + echo "" >> "${readmeFile}" + echo "![${artboardName}](./${artboardPath})" >> "${readmeFile}" + echo "" >> "${readmeFile}" fi done