diff --git a/Scripts/Functions/Tuneup/tuneup_getOptions.sh b/Scripts/Functions/Tuneup/tuneup_getOptions.sh index 964a511..0ba443e 100755 --- a/Scripts/Functions/Tuneup/tuneup_getOptions.sh +++ b/Scripts/Functions/Tuneup/tuneup_getOptions.sh @@ -82,4 +82,11 @@ function tuneup_getOptions { # Redefine ARGUMENTS variable using current positional parameters. cli_parseArgumentsReDef "$@" + # Verify non-option arguments passed to command-line. If there + # isn't any, redefine the ARGUMENTS variable to use the current + # location the functionality was called from. + if [[ $ARGUMENTS == '' ]];then + ARGUMENTS=${PWD} + fi + }