summaryrefslogtreecommitdiffstats
path: root/po/update-potfiles
diff options
context:
space:
mode:
Diffstat (limited to 'po/update-potfiles')
-rwxr-xr-xpo/update-potfiles3
1 files changed, 1 insertions, 2 deletions
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