summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/photoalbum.sh4
1 files changed, 1 insertions, 3 deletions
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 \