diff options
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 |