From 71b161ea37c57dc6a8341aeec6c0c2ae7cd4cfe3 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 10 Oct 2012 13:06:01 +0200 Subject: build-sys: clean update-potfiles script - use only sed(1) - remove config.h from the result - remove samples/, tests/, util-linu-*/ ("make ditcheck" product) directories from the result Signed-off-by: Karel Zak --- po/update-potfiles | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'po/update-potfiles') diff --git a/po/update-potfiles b/po/update-potfiles index fe957f87e..c92abd8b7 100755 --- a/po/update-potfiles +++ b/po/update-potfiles @@ -14,6 +14,5 @@ find -name "*.c" -or -name "*.h" | \ sort | \ - sed ':/samples/:d' | \ - gawk '! /^\.\/tests\// { print gensub(/^\.\//, "", 1) }' \ + sed '/samples/d; /config\.h/d; /util-linux-.*/d; /\.\/tests/d; s/^\.\///' \ > po/POTFILES.in -- cgit v1.2.3-55-g7522