diff --git a/update_psa b/update_psa index e6d4edd..75a34b6 100755 --- a/update_psa +++ b/update_psa @@ -43,7 +43,11 @@ while test $# -gt 0; do ;; --wdir | --wdi | --wd | --w | -wdir | -wdi | -wd | -w ) shift - WORKING_DIRECTORY="$1" + if [ "$1" = "." ]; then + WORKING_DIRECTORY="$PWD" + else + WORKING_DIRECTORY="$1" + fi ;; --help | -hel | --he | --h | '--?' | -help | -hel | -he | -h | '-?' ) usage_and_exit 0