Skip to content

Commit

Permalink
Include "-D" parameter to zip.
Browse files Browse the repository at this point in the history
Saves a few KiB for the final XPI at no cost.  Fixes greasemonkey#1187
  • Loading branch information
arantius committed Apr 20, 2011
1 parent 84d4a9e commit f523f46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ sed \
cat tmp > chrome.manifest
rm tmp
find content skin locale | sort | \
zip -r -0 -@ "greasemonkey.jar" > /dev/null
zip -qr0D@ "greasemonkey.jar"
rm -fr content/ skin/ locale/
mkdir chrome
mv greasemonkey.jar chrome/

echo "Creating $GMXPI ..."
zip -qr9X "../$GMXPI" *
zip -qr9DX "../$GMXPI" *

echo "Cleaning up temporary files ..."
cd ..
Expand Down

0 comments on commit f523f46

Please sign in to comment.