diff options
author | Jérémy Bobbio <lunar@debian.org> | 2015-06-01 18:09:47 +0200 |
---|---|---|
committer | Jérémy Bobbio <lunar@debian.org> | 2015-06-01 18:09:47 +0200 |
commit | 3ac63335cda3292eb811af54e7d728a239540ef7 (patch) | |
tree | a1ef461e0fd8edf7a0b36a84f85c3b4d86899cbd /xpi-unpack | |
parent | 1419d0226868500f869a42940382970921c56794 (diff) |
Use UTC as timezone when calling zip or unzip
Zip standard specify that files are stored with localtime. This
unfortunately make the builds vary needlessly when run on different
timezone.
Diffstat (limited to 'xpi-unpack')
-rwxr-xr-x | xpi-unpack | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -64,11 +64,11 @@ fi; mkdir $OUTDIR; echo "Unpacking $XPIFILE"; -unzip -q $XPIFILE -d $OUTDIR; +TZ=UTC unzip -q $XPIFILE -d $OUTDIR; cd $OUTDIR; for JAR_PATH in `find . -name '*.jar'` ; do echo "Unpacking $JAR_PATH"; - unzip -q $JAR_PATH -d $JAR_PATH!; + TZ=UTC unzip -q $JAR_PATH -d $JAR_PATH!; rm -f $JAR_PATH; done; cd ..; |