diff --git a/config/contours/V3/make-contour-tile.sh b/config/contours/V3/make-contour-tile.sh index 27b9ddbd10..fa2bb0d0c7 100755 --- a/config/contours/V3/make-contour-tile.sh +++ b/config/contours/V3/make-contour-tile.sh @@ -15,8 +15,8 @@ if [ $# -lt 2 ]; then echo "Usage: "$(basename $0) "[input-file] [output-directory/]" exit 2 fi -if [ $# -eq 3]; then - tmpfile="tmp"$3 +if [ $# -eq 3 ]; then + tmpfile=$("tmp"$3) else tmpfile="tmp" fi