From 3e2853dfafa1ea60f8573ba13f48e8583e5de1d9 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Fri, 15 Feb 2013 13:48:43 -0500 Subject: [PATCH] fixed occasional omission of .zip from name if the directory name had dots in it already. --- scripts/files/zip_directories.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.34.1