From 3bb21a4c4afcc4f32368a26e804e0dfe7c281697 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Mon, 15 Aug 2011 13:00:18 +0200 Subject: [PATCH] po: do not search /samples/ subdirectories for translatable strings Signed-off-by: Benno Schulenberg --- po/update-potfiles | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.47.3