From adc347bf11847dfa78c8dbbb163237c7e148b915 Mon Sep 17 00:00:00 2001 From: Toke Eskildsen <te@ekot.dk> Date: Fri, 20 Sep 2013 01:30:11 +0200 Subject: [PATCH] quack always generated tiles, regardless of settings --- quack.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/quack.sh b/quack.sh index a58a0e6..084266a 100755 --- a/quack.sh +++ b/quack.sh @@ -292,9 +292,11 @@ function makeImages() { local CONV="$SRC_IMAGE" fi - if shouldGenerate "$FORCE_TILES" "$TILE_FOLDER" "tiles"; then + if [ ".true" == "$TILE" ]; then + if shouldGenerate "$FORCE_TILES" "$TILE_FOLDER" "tiles"; then # TODO: Specify JPEG quality - deepzoom "$CONV" -format $IMAGE_DISP_EXT -path "${DEST_FOLDER}/" + deepzoom "$CONV" -format $IMAGE_DISP_EXT -path "${DEST_FOLDER}/" + fi fi if shouldGenerate "$FORCE_BLOWN" "$WHITE_IMAGE" "overlay"; then -- GitLab