aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-06-03 16:48:09 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-06-03 16:48:09 +0530
commit43d60f439bf2adc309fd4ca0799a8fd7ad100add (patch)
tree9e82f45c0e9c721cc0e939da2ffba49e11bc488b
parent83af702f1cae043902e23e9358c3e036ddca8d33 (diff)
downloadwallet-core-43d60f439bf2adc309fd4ca0799a8fd7ad100add.tar.xz
always create fresh zip file
-rwxr-xr-xwebextension/pack.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/webextension/pack.sh b/webextension/pack.sh
index 6e734b08c..ef005014f 100755
--- a/webextension/pack.sh
+++ b/webextension/pack.sh
@@ -17,4 +17,7 @@ cp -r dist/webextension/* dist/wx/
cd dist/wx
-zip -r "../taler-wallet-${vers_manifest}.zip" ./*
+zipfile="../taler-wallet-${vers_manifest}.zip"
+
+rm -f -- "$zipfile"
+zip -r "$zipfile" ./*