fixed bad substitution in shell script

master
Martin Scheidt 2022-03-29 14:33:03 +02:00
parent c159bb00a2
commit 2683bf27c2
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ process_arguments() {
-r|--release) -r|--release)
RELEASE=1 RELEASE=1
shift shift
if [ -z "$1" ] || [ "${1:0:1}" = "-" ]; then if [ -z "$1" ] || [ "`echo $1 | cut -c1-1`" = "-" ]; then
print_usage print_usage
exit 1 exit 1
fi fi