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[] = {";