Commit 96d985e5 authored by Martijn Braam's avatar Martijn Braam Committed by Evangelos Ribeiro Tzaras
Browse files

Fix bash-ism in postprocess.sh

parent ad55d5d2
...@@ -66,7 +66,7 @@ if [ -n "$DCRAW" ]; then ...@@ -66,7 +66,7 @@ if [ -n "$DCRAW" ]; then
# If imagemagick is available, convert the tiff to jpeg and apply slight sharpening # If imagemagick is available, convert the tiff to jpeg and apply slight sharpening
if [ -n "$CONVERT" ]; if [ -n "$CONVERT" ];
then then
if [ "$CONVERT" == "convert" ]; then if [ "$CONVERT" = "convert" ]; then
convert "$MAIN_PICTURE.$TIFF_EXT" -sharpen 0x1.0 "$TARGET_NAME.jpg" convert "$MAIN_PICTURE.$TIFF_EXT" -sharpen 0x1.0 "$TARGET_NAME.jpg"
else else
gm convert "$MAIN_PICTURE.$TIFF_EXT" -sharpen 0x1.0 "$TARGET_NAME.jpg" gm convert "$MAIN_PICTURE.$TIFF_EXT" -sharpen 0x1.0 "$TARGET_NAME.jpg"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment