diff options
| author | Paul Buetow (mars.fritz.box) <paul@buetow.org> | 2014-01-11 13:42:35 +0100 |
|---|---|---|
| committer | Paul Buetow (mars.fritz.box) <paul@buetow.org> | 2014-01-11 13:42:35 +0100 |
| commit | 382dab000708e2bce2ca71efffc7bc51f9758458 (patch) | |
| tree | 27220022c4e6e8439736affc889041e3a9888684 | |
| parent | bae474ed42c3151658a75e250cd85bb573e02dfe (diff) | |
few fixes0.2.3
| -rwxr-xr-x | src/photoalbum.sh | 4 |
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 \ |
