~ubuntu-branches/ubuntu/trusty/util-linux/trusty-proposed

« back to all changes in this revision

Viewing changes to po/update-potfiles

  • Committer: Package Import Robot
  • Author(s): LaMont Jones
  • Date: 2011-11-03 15:38:23 UTC
  • mto: (4.5.5 sid) (1.6.4)
  • mto: This revision was merged to the branch mainline in revision 85.
  • Revision ID: package-import@ubuntu.com-20111103153823-10sx16jprzxlhkqf
ImportĀ upstreamĀ versionĀ 2.20.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
# find all *.c files, 
7
7
# sort the list
 
8
# exclude /samples/ subdirectories
8
9
# exclude ./tests/ from the list 
9
10
#         and remove "./" prefix
10
11
 
13
14
 
14
15
find -name "*.c" | \
15
16
  sort | \
 
17
  sed ':/samples/:d' | \
16
18
  gawk '! /^\.\/tests\// { print gensub(/^\.\//, "", 1) }' \
17
19
  > po/POTFILES.in