summaryrefslogtreecommitdiffhomepage
path: root/make-tar.sh
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-10-17 11:13:02 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-10-17 11:13:02 +0200
commit6b220145f9571681d10742f00ffb42ea226e3851 (patch)
treebe5690f6aa52bba0c696fc9dbb54ad04ea7d3bb1 /make-tar.sh
parent5f20a56e3d948d44a856a529d490e330a1adb57f (diff)
cmake: regen tarball even if exists
Diffstat (limited to 'make-tar.sh')
-rw-r--r--make-tar.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/make-tar.sh b/make-tar.sh
index cd5abc56..8954a4ba 100644
--- a/make-tar.sh
+++ b/make-tar.sh
@@ -3,6 +3,8 @@
prefix="$1"
filename="$2"
+rm -fv "$filename"
+
if : &&
cd $(dirname -- "${prefix}") &&
zip -9r "${filename}" $(basename "${prefix}")