purge-stale-projects.sh: Fix getopt regression #42
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue