set WORKING_DIRECTORY explicitly to PWD if . is passed
This commit is contained in:
		@@ -43,7 +43,11 @@ while test $# -gt 0; do
 | 
			
		||||
            ;;
 | 
			
		||||
        --wdir | --wdi | --wd | --w | -wdir | -wdi | -wd | -w )
 | 
			
		||||
            shift
 | 
			
		||||
            if [ "$1" = "." ]; then
 | 
			
		||||
                WORKING_DIRECTORY="$PWD"
 | 
			
		||||
            else
 | 
			
		||||
                WORKING_DIRECTORY="$1"
 | 
			
		||||
            fi
 | 
			
		||||
            ;;
 | 
			
		||||
        --help | -hel | --he | --h | '--?' | -help | -hel | -he | -h | '-?' )
 | 
			
		||||
            usage_and_exit 0
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user