summaryrefslogtreecommitdiffhomepage
path: root/make-tar.sh
diff options
context:
space:
mode:
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}")