Upload Tizen:Base source
[framework/base/util-linux-ng.git] / po / update-potfiles
1 #!/bin/sh
2 #
3 # Copyright (C) 2009 Karel Zak <kzak@redhat.com>
4 #
5
6 # find all *.c files, 
7 # sort the list
8 # exclude ../tests/ from the list 
9 #         and remove "../" prefix
10
11 find ../ -name "*.c" | \
12 sort | \
13 gawk '! /^\.\.\/tests\// { print gensub(/^\.\.\//, "", 1) }' > POTFILES.in