From 382dab000708e2bce2ca71efffc7bc51f9758458 Mon Sep 17 00:00:00 2001 From: "Paul Buetow (mars.fritz.box)" Date: Sat, 11 Jan 2014 13:42:35 +0100 Subject: few fixes --- src/photoalbum.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/photoalbum.sh b/src/photoalbum.sh index 38c6f09..38117a0 100755 --- a/src/photoalbum.sh +++ b/src/photoalbum.sh @@ -53,7 +53,7 @@ generate() { local -r BASE=$(basename "${INCOMING_DIR}") local -r NOW=$(date +'%Y-%m-%d-%H%M%S') # New global variable - TARBALL_NAME="${BASE}-${NOW}.${TARBALL_SUFFIX}" + TARBALL_NAME="${BASE}-${NOW}${TARBALL_SUFFIX}" fi scale @@ -82,8 +82,6 @@ scale() { destphoto="${photo}" fi - destphoto="${destphoto/./}" - echo "Scaling ${photo} to ${DIST_DIR}/photos/${destphoto}" convert -auto-orient \ -- cgit v1.2.3