summaryrefslogtreecommitdiffstats
path: root/po/create_placeholder
diff options
context:
space:
mode:
Diffstat (limited to 'po/create_placeholder')
-rwxr-xr-xpo/create_placeholder3
1 files changed, 1 insertions, 2 deletions
diff --git a/po/create_placeholder b/po/create_placeholder
index 13d8310e..77274f1c 100755
--- a/po/create_placeholder
+++ b/po/create_placeholder
@@ -9,8 +9,7 @@ char *foobar[] = { " > placeholder.h.$$
cat ../urpmf | perl -ne 's/.*\$ECHO\s+(".*").*/N_($1),/g and print' >> placeholder.h.$$
if [ "$*" = "" ]; then
- for i in ../_irpm ../urpm.pm ../urpmf ../urpmi ../urpmi.addmedia \
- ../urpmi.update ../urpmi.removemedia ../urpmq
+ for i in `sed -e "s+^+../+" "POTFILES.in"`
do
./pl_create_placeholder $i >> placeholder.h.$$
done