Merge pull request #64 from Zen-CODE/sed_fix
fix: prevent 'illegal byte code sequence' when parsing png files
This commit is contained in:
commit
2eb4a926c9
1 changed files with 4 additions and 4 deletions
|
@ -32,10 +32,10 @@ try cp $TEMPLATESDIR/template-Info.plist $APPDIR/$APPID-Info.plist
|
|||
try cp -a $TEMPLATESDIR/template.xcodeproj $APPDIR/$APPID.xcodeproj
|
||||
|
||||
echo "-> Customize templates"
|
||||
try find $APPDIR -type f -exec sed -i '' "s/##APPID##/$APPID/g" {} \;
|
||||
try find $APPDIR -type f -exec sed -i '' "s/##APPNAME##/$APPNAME/g" {} \;
|
||||
try find $APPDIR -type f -exec sed -i '' "s/##SDKVER##/$SDKVER/g" {} \;
|
||||
try find $APPDIR -type f -exec sed -i '' "s^##SRCDIR##^$SRCDIR^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/##SDKVER##/$SDKVER/g" {} \;
|
||||
try find $APPDIR -type f -not -iname *.png -exec sed -i '' "s^##SRCDIR##^$SRCDIR^g" {} \;
|
||||
|
||||
echo "-> Done !"
|
||||
|
||||
|
|
Loading…
Reference in a new issue