projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7c5947
)
build: Fix variable usage in i18n-update.pl
author
Hannu Nyman
<
[email protected]
>
Sun, 26 Oct 2025 13:31:59 +0000
(15:31 +0200)
committer
Hannu Nyman
<
[email protected]
>
Sun, 26 Oct 2025 13:34:37 +0000
(15:34 +0200)
Use 'file' instead of 'cmd' to show the failed file name more clearly.
Fixes: 6e9a7e1 "build: set i18n-update.pl to break at .po error"
Signed-off-by: Hannu Nyman <
[email protected]
>
(cherry picked from commit
ab7018cd6eacaf5f9c495bec06a89ea060eea328
)
build/i18n-update.pl
patch
|
blob
|
history
diff --git
a/build/i18n-update.pl
b/build/i18n-update.pl
index c9ebc25e2f52df1a0e3b987b25ec38586209e4f6..5a191186d88f34c1d29492f06b6832d9d96d47d5 100755
(executable)
--- a/
build/i18n-update.pl
+++ b/
build/i18n-update.pl
@@
-72,7
+72,7
@@
foreach my $dir (@dirs)
my $head = read_header($file);
printf "Updating %-40s", $file;
- system("msgmerge", "-U", "-N", $file, "$dir/templates/$basename.pot") == 0 || die "$0: [$
cmd
] failed: $?\n";
+ system("msgmerge", "-U", "-N", $file, "$dir/templates/$basename.pot") == 0 || die "$0: [$
file
] failed: $?\n";
write_header($file, $head);
}