Update config/contours/V3/make-contour-tile.sh

Check for at least 2 args to make contour files
This commit is contained in:
yvecai 2012-10-26 16:11:18 +03:00
parent e7a84b908e
commit 19284e6e2b

View file

@ -10,7 +10,7 @@ TMP_DIR="/var/tmp/"
# check arguments and build absolute filenames # check arguments and build absolute filenames
# --------------------------------------------- # ---------------------------------------------
if [ $# -ne 2 ]; then if [ $# -lt 2 ]; then
echo "Error: 2 arguments needed" echo "Error: 2 arguments needed"
echo "Usage: "$(basename $0) "[input-file] [output-directory/]" echo "Usage: "$(basename $0) "[input-file] [output-directory/]"
exit 2 exit 2