Without this change, zip would happily carry on even if some elements
are missing due to other undetected failures in the build process.
It's better to catch errors in the .xpi generation at build time,
rather than at install or runtime.
---
 genxpi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/genxpi b/genxpi
index eb484fd..d67ee3a 100755
--- a/genxpi
+++ b/genxpi
@@ -128,7 +128,7 @@ fi
 
 echo "Creating ${xpiFile} file"
 
-zip ${xpiFile} \
+zip --must-match ${xpiFile} \
     components/${xpiModule}.xpt \
     components/${xpiModule}.js \
     components/enigprefs-service.js \
-- 
1.8.4.2


_______________________________________________
enigmail-users mailing list
enigmail-users@enigmail.net
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net

Reply via email to