From: Benno Schulenberg Date: Mon, 15 Aug 2011 11:00:18 +0000 (+0200) Subject: po: do not search /samples/ subdirectories for translatable strings X-Git-Tag: v2.20-rc2~55 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3bb21a4c4afcc4f32368a26e804e0dfe7c281697;p=thirdparty%2Futil-linux.git po: do not search /samples/ subdirectories for translatable strings Signed-off-by: Benno Schulenberg --- diff --git a/po/update-potfiles b/po/update-potfiles index 6cabe712c5..2a3ff58bd2 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