Explorar o código

Fix bash-ism in postprocess.sh

Martijn Braam %!s(int64=4) %!d(string=hai) anos
pai
achega
cfba98593c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      postprocess.sh

+ 1 - 1
postprocess.sh

@@ -66,7 +66,7 @@ if [ -n "$DCRAW" ]; then
 	# If imagemagick is available, convert the tiff to jpeg and apply slight sharpening
 	if [ -n "$CONVERT" ];
 	then
-		if [ "$CONVERT" == "convert" ]; then
+		if [ "$CONVERT" = "convert" ]; then
 			convert "$MAIN_PICTURE.$TIFF_EXT" -sharpen 0x1.0 "$TARGET_NAME.jpg"
 		else
 			gm convert "$MAIN_PICTURE.$TIFF_EXT" -sharpen 0x1.0 "$TARGET_NAME.jpg"