Source: mozilla-devscripts
Version: 0.41
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps toolchain
X-Debbugs-CC: reproducible-builds@lists.alioth.debian.org

Hi,

the recent upload of mozilla-devscripts contains a typo of the
timezone setting (TC instead of TZ), which leads again to unreproducible
packages.

This is fixed by the attached patch.

Regards,
 Reiner

diff --git a/xpi-pack b/xpi-pack
index 9f3714a..555e623 100755
--- a/xpi-pack
+++ b/xpi-pack
@@ -77,13 +77,13 @@ for JAR_DIR in `find . -type d -name '*.jar\!'` ; do
 	rm -rf $ABS_JAR_PATH;
 done;
 echo "Packing $XPIFILE";
-TC=UTC zip -q -X -r $START_DIR/$XPIFILE * -x debian/\* temp-*/\*;
+TZ=UTC zip -q -X -r $START_DIR/$XPIFILE * -x debian/\* temp-*/\*;
 [ -f $START_DIR/$XPIFILE ] && XPIDIR=`dirname $START_DIR/$XPIFILE`
 ABS_XPIDIR=`cd $XPIDIR; pwd`;
 echo "Packed XPI file. It is located in $ABS_XPIDIR";
 for JAR_PATH in $PACK_JAR_PATHS ; do
         echo "Unpacking and removing $JAR_PATH";
-        TC=UTC unzip -q $JAR_PATH -d $JAR_PATH!;
+        TZ=UTC unzip -q $JAR_PATH -d $JAR_PATH!;
         rm -f $JAR_PATH;
 done;
 cd $START_DIR;

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to