purge-stale-projects.sh: Fix getopt regression
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 4m22s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 4m28s
CI / Packaging test (pull_request) Successful in 0s
CI / Packaging - Kali Linux (push) Successful in 4m0s
CI / Packaging - OpenSUSE Tumbleweed (push) Successful in 4m20s
CI / Packaging test (push) Successful in 0s
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 4m22s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 4m28s
CI / Packaging test (pull_request) Successful in 0s
CI / Packaging - Kali Linux (push) Successful in 4m0s
CI / Packaging - OpenSUSE Tumbleweed (push) Successful in 4m20s
CI / Packaging test (push) Successful in 0s
The last commit passes "$*" to getopt in purge-stale-projects.sh, which is nonsense. Fix that.
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
77c746571a
commit
3eb2904958
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ date=`date +'%Y%m%d'`
|
||||||
myname=`basename $0`
|
myname=`basename $0`
|
||||||
vcss="git"
|
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"
|
eval set -- "$opts"
|
||||||
while [ "$1" != -- ]; do
|
while [ "$1" != -- ]; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue