From 3eb2904958d0986346d4473ae94751a3faf29b3f Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Tue, 30 Jun 2026 07:36:07 +0200 Subject: [PATCH] purge-stale-projects.sh: Fix getopt regression The last commit passes "$*" to getopt in purge-stale-projects.sh, which is nonsense. Fix that. Signed-off-by: Jan Lindemann --- scripts/purge-stale-projects.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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