From 250a27d50b5e88b77e5f4110545b29cacf1f139f Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Wed, 13 Jul 2016 14:20:49 +0200 Subject: [PATCH] warrenty zipfile ends with .zip --- albentohandy.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/albentohandy.sh b/albentohandy.sh index 1d7abfa..afd2b06 100755 --- a/albentohandy.sh +++ b/albentohandy.sh @@ -103,6 +103,10 @@ fi if [ $mkzip == true ] then printf "Phase %02d of %02d: create %s\n" $((curphase++)) $phase $zipname + if [[ ! $zipname =~ .zip ]] + then + zipname="${zipname}.zip" + fi curpath=$(pwd) cd $work 7z a -bd -mmt=off -mm=Copy $curpath/$zipname . -- 2.47.3