fix #23 tmp deleted after use

This commit is contained in:
Paul Liverman III 2015-05-01 14:46:02 -07:00
parent 8932240591
commit be3085089d
2 changed files with 2 additions and 1 deletions

3
build
View File

@ -150,9 +150,10 @@ cp "$osxIconsDirectory/$osxFileIcon" "$osx10Dir/$packageName.app/Contents/Resour
cp "$osxIconsDirectory/$osxBundleIcon" "$osx10Dir/$packageName.app/Contents/Resources/$osxBundleIcon" cp "$osxIconsDirectory/$osxBundleIcon" "$osx10Dir/$packageName.app/Contents/Resources/$osxBundleIcon"
# Create an Info.plist and copy it in # Create an Info.plist and copy it in
cd "$originalDir" cd "$originalDir"
source "$originalDir/scripts/Info.plist-maker.sh" source "$originalDir/lp-scripts/Info.plist-maker.sh"
cd "$osx10Dir" cd "$osx10Dir"
cp "$originalDir/tmp/Info.plist" "$osx10Dir/$packageName.app/Contents/Info.plist" cp "$originalDir/tmp/Info.plist" "$osx10Dir/$packageName.app/Contents/Info.plist"
rm -rf "$originalDir/tmp"
# ZIP up the .app directory # ZIP up the .app directory
zip -r -X -q "$outputDir/$packageName-${version}_osx.zip" "./$packageName.app" zip -r -X -q "$outputDir/$packageName-${version}_osx.zip" "./$packageName.app"
cd "$includes" cd "$includes"