From: Chris Koeritz Date: Fri, 15 Feb 2013 18:48:43 +0000 (-0500) Subject: fixed occasional omission of .zip from name if the directory name had dots in it... X-Git-Tag: 2.140.90~1107 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=3e2853dfafa1ea60f8573ba13f48e8583e5de1d9;p=feisty_meow.git fixed occasional omission of .zip from name if the directory name had dots in it already. --- diff --git a/scripts/files/zip_directories.sh b/scripts/files/zip_directories.sh index 42726424..5a603b4d 100644 --- a/scripts/files/zip_directories.sh +++ b/scripts/files/zip_directories.sh @@ -31,7 +31,7 @@ function flattenizer() done if [ ! -z "$dirname" -a -d "$dirname" ]; then echo "flattening '$dirname'..." - zip -rm "${dirname}_$(date_stringer)" "$dirname" &>/dev/null + zip -rm "${dirname}_$(date_stringer).zip" "$dirname" &>/dev/null fi done }