diff options
author | Benno Schulenberg | 2011-08-15 13:00:18 +0200 |
---|---|---|
committer | Karel Zak | 2011-08-16 10:16:34 +0200 |
commit | 3bb21a4c4afcc4f32368a26e804e0dfe7c281697 (patch) | |
tree | 463afcce34a618eb440c9a261b13c77bbbbb0318 /po/update-potfiles | |
parent | hwclock: in man page move --date and --epoch from Functions to Options (diff) | |
download | kernel-qcow2-util-linux-3bb21a4c4afcc4f32368a26e804e0dfe7c281697.tar.gz kernel-qcow2-util-linux-3bb21a4c4afcc4f32368a26e804e0dfe7c281697.tar.xz kernel-qcow2-util-linux-3bb21a4c4afcc4f32368a26e804e0dfe7c281697.zip |
po: do not search /samples/ subdirectories for translatable strings
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'po/update-potfiles')
-rwxr-xr-x | po/update-potfiles | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/po/update-potfiles b/po/update-potfiles index 6cabe712c..2a3ff58bd 100755 --- a/po/update-potfiles +++ b/po/update-potfiles @@ -5,6 +5,7 @@ # find all *.c files, # sort the list +# exclude /samples/ subdirectories # exclude ./tests/ from the list # and remove "./" prefix @@ -13,5 +14,6 @@ find -name "*.c" | \ sort | \ + sed ':/samples/:d' | \ gawk '! /^\.\/tests\// { print gensub(/^\.\//, "", 1) }' \ > po/POTFILES.in |