From 08d78168ff11be50cb80065a523833acc503612b Mon Sep 17 00:00:00 2001 From: Ryan L McIntyre Date: Sun, 20 Nov 2016 19:48:01 -0500 Subject: [PATCH] Fixes issue with interpolation (use double quotes) from feedback on homebrew fonts WIP RFC PR --- bin/scripts/generate-casks.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/scripts/generate-casks.sh b/bin/scripts/generate-casks.sh index dd3660e48..06c0abe63 100755 --- a/bin/scripts/generate-casks.sh +++ b/bin/scripts/generate-casks.sh @@ -19,8 +19,8 @@ cd $patched_parent_dir || { exit 1 } -#find ./Hack -maxdepth 0 -type d | # uncomment to test 1 font -find ./ProFont -maxdepth 2 -type d | # uncomment to test 1 font +find ./Hack -maxdepth 0 -type d | # uncomment to test 1 font +#find ./ProFont -maxdepth 2 -type d | # uncomment to test 1 font #find . -maxdepth 1 -type d | # uncomment to test 1 font while read -r filename do @@ -55,7 +55,7 @@ do printf "cask '%s' do\n" "$caskname" printf " version '%s'\n" "$version" printf " sha256 '%s'\n\n" "$sha256sum" - printf " url '%s%s.zip'\n" "$downloadarchive" "$basename" + printf " url \"%s%s.zip\"\n" "$downloadarchive" "$basename" printf " appcast '%s',\n" "$appcast" printf " checkpoint: '%s'\n" "$appcastcheckpoint" } >> "$to"