diff --git a/scripts/purge-stale-projects.sh b/scripts/purge-stale-projects.sh index e48f013c..ee71581a 100644 --- a/scripts/purge-stale-projects.sh +++ b/scripts/purge-stale-projects.sh @@ -47,7 +47,7 @@ date=`date +'%Y%m%d'` myname=`basename $0` vcss="git" -opts=$(getopt -o C --long "vcs:" -n $myname -- "$*") || fatal "Failed to parse options $*" +opts=$(getopt -o C --long "vcs:" -n $myname -- "$@") || fatal "Failed to parse options $*" eval set -- "$opts" while [ "$1" != -- ]; do case "$1" in