Minor shellcheck-suggested update.
This commit is contained in:
@@ -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[] = {";
|
||||
|
||||
Reference in New Issue
Block a user