diff --git a/draw.sh b/draw.sh index 7908c48..2a53ab9 100644 --- a/draw.sh +++ b/draw.sh @@ -1,6 +1,9 @@ #!/bin/bash -#field guide +if [[ "${1}" == "" ]]; then + echo "Please provide a directory as the first argument" + exit 1 +fi if [ "${2}" == "" ]; then name=`basename "${1}"`