Add quotes to avoid shell expansion
This commit is contained in:
parent
2f8d7c0c26
commit
1c06b09a6f
1 changed files with 4 additions and 4 deletions
|
@ -41,10 +41,10 @@ try cp $TEMPLATESDIR/template-Info.plist $APPDIR/$APPID-Info.plist
|
||||||
try cp -a $TEMPLATESDIR/template.xcodeproj $APPDIR/$APPID.xcodeproj
|
try cp -a $TEMPLATESDIR/template.xcodeproj $APPDIR/$APPID.xcodeproj
|
||||||
|
|
||||||
echo "-> Customize templates"
|
echo "-> Customize templates"
|
||||||
try find $APPDIR -type f -not -iname *.png -exec sed -i '' "s/##APPID##/$APPID/g" {} \;
|
try find $APPDIR -type f -not -iname '*.png' -exec sed -i '' "s/##APPID##/$APPID/g" {} \;
|
||||||
try find $APPDIR -type f -not -iname *.png -exec sed -i '' "s/##APPNAME##/$APPNAME/g" {} \;
|
try find $APPDIR -type f -not -iname '*.png' -exec sed -i '' "s/##APPNAME##/$APPNAME/g" {} \;
|
||||||
try find $APPDIR -type f -not -iname *.png -exec sed -i '' "s/##SDKVER##/$SDKVER/g" {} \;
|
try find $APPDIR -type f -not -iname '*.png' -exec sed -i '' "s/##SDKVER##/$SDKVER/g" {} \;
|
||||||
try find $APPDIR -type f -not -iname *.png -exec sed -i '' "s^##SRCDIR##^$SRCDIR^g" {} \;
|
try find $APPDIR -type f -not -iname '*.png' -exec sed -i '' "s^##SRCDIR##^$SRCDIR^g" {} \;
|
||||||
|
|
||||||
LC_CTYPE=$OLD_LC_CTYPE
|
LC_CTYPE=$OLD_LC_CTYPE
|
||||||
LANG=$OLD_LANG
|
LANG=$OLD_LANG
|
||||||
|
|
Loading…
Reference in a new issue