diff options
author | Pablo Saratxaga <pablo@mandriva.com> | 2001-11-27 18:59:33 +0000 |
---|---|---|
committer | Pablo Saratxaga <pablo@mandriva.com> | 2001-11-27 18:59:33 +0000 |
commit | 8923ae296271934e0e9f486877efde3f6e090d24 (patch) | |
tree | bda65c104c7a99dcea81192f97c4ce46c957c753 /po/create_placeholder | |
parent | 41e32b3391326cf338195e5863121ff36fcd6a81 (diff) | |
download | urpmi-8923ae296271934e0e9f486877efde3f6e090d24.tar urpmi-8923ae296271934e0e9f486877efde3f6e090d24.tar.gz urpmi-8923ae296271934e0e9f486877efde3f6e090d24.tar.bz2 urpmi-8923ae296271934e0e9f486877efde3f6e090d24.tar.xz urpmi-8923ae296271934e0e9f486877efde3f6e090d24.zip |
fixed some English typos; updated Hungarian file
Diffstat (limited to 'po/create_placeholder')
-rwxr-xr-x | po/create_placeholder | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/po/create_placeholder b/po/create_placeholder index 13dd0024..13d8310e 100755 --- a/po/create_placeholder +++ b/po/create_placeholder @@ -8,10 +8,18 @@ echo -e "\ char *foobar[] = { " > placeholder.h.$$ cat ../urpmf | perl -ne 's/.*\$ECHO\s+(".*").*/N_($1),/g and print' >> placeholder.h.$$ -for i in $* -do - ./pl_create_placeholder $i >> placeholder.h.$$ -done +if [ "$*" = "" ]; then + for i in ../_irpm ../urpm.pm ../urpmf ../urpmi ../urpmi.addmedia \ + ../urpmi.update ../urpmi.removemedia ../urpmq + do + ./pl_create_placeholder $i >> placeholder.h.$$ + done +else + for i in $* + do + ./pl_create_placeholder $i >> placeholder.h.$$ + done +fi echo "};" >> placeholder.h.$$ |