[OpenWrt-Devel] [PATCH 3/4] scripts/mkits.sh: fix improper string and array concatenation
Rosen Penev
rosenp at gmail.com
Sun Jan 5 21:31:19 EST 2020
Found with shellcheck.
Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
scripts/mkits.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/mkits.sh b/scripts/mkits.sh
index 53b9ec5f20..c09e537dbd 100755
--- a/scripts/mkits.sh
+++ b/scripts/mkits.sh
@@ -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
--
2.24.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list