From 1927e88350b48a4dd2b0ebdf07fb7909c0038a60 Mon Sep 17 00:00:00 2001 From: Andrew Wood Date: Mon, 24 Jul 2023 22:30:49 +0100 Subject: [PATCH] Minor shellcheck-suggested update. --- autoconf/scripts/po2table.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoconf/scripts/po2table.sh b/autoconf/scripts/po2table.sh index 05d02b1..b1b80dc 100755 --- a/autoconf/scripts/po2table.sh +++ b/autoconf/scripts/po2table.sh @@ -24,7 +24,7 @@ struct msgtable_s *minigettext__gettable(char *lang) EOF -for POFILE in $*; do +for POFILE in "$@"; do LANG=$(basename "$POFILE" | sed 's/.po$//') echo " if (strncmp(lang, \"$LANG\", 2) == 0) {" echo " static struct msgtable_s data[] = {";