From 731121ce199655c643ad8bbbec01a4d0efd9fa96 Mon Sep 17 00:00:00 2001 From: licunlong1 Date: Wed, 7 Sep 2022 17:09:00 +0800 Subject: [PATCH] fix errors found from shellcheck scan --- plugins/demofiles.sh | 2 +- rpmrebuild.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/demofiles.sh b/plugins/demofiles.sh index 7d3f029..7511fd9 100755 --- a/plugins/demofiles.sh +++ b/plugins/demofiles.sh @@ -40,7 +40,7 @@ function syntaxe () { ############################################################################### # test for arguments -while [[ $ 1 ]] +while [[ $1 ]] do case $1 in -h | --help ) diff --git a/rpmrebuild.sh b/rpmrebuild.sh index 2da043e..8e4f9b2 100755 --- a/rpmrebuild.sh +++ b/rpmrebuild.sh @@ -562,7 +562,7 @@ function Main CommandLineParsing "$@" || return [ "x$NEED_EXIT" = "x" ] || return $NEED_EXIT - Debug "rpmrebuild version $VERSION : $@" + Debug "rpmrebuild version $VERSION : $*" check_i18ndomains -- 2.33.0