scripts/mkits.sh: fix improper string and array concatenation
authorRosen Penev <rosenp@gmail.com>
Mon, 6 Jan 2020 02:31:19 +0000 (18:31 -0800)
committerPetr Štetiar <ynezz@true.cz>
Sat, 11 Jul 2020 12:42:32 +0000 (14:42 +0200)
Found with shellcheck.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
scripts/mkits.sh

index 53b9ec5f20c1635429630508d075682bf13729c0..c09e537dbd9b7b70e0922d8cefe8eee7cde8b9c7 100755 (executable)
@@ -43,7 +43,7 @@ do
                k ) KERNEL=$OPTARG;;
                o ) OUTPUT=$OPTARG;;
                v ) VERSION=$OPTARG;;
-               * ) echo "Invalid option passed to '$0' (options:$@)"
+               * ) echo "Invalid option passed to '$0' (options:$*)"
                usage;;
        esac
 done