File: update_ts.sh

package info (click to toggle)
qmmp 0.5.5-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 10,156 kB
  • sloc: cpp: 41,923; ansic: 2,539; sh: 53; makefile: 20
file content (12 lines) | stat: -rwxr-xr-x 171 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

for file in `find . -name "*.pro"`
do
    ts_pro=`cat $file | grep TRANSLATIONS`
    if [ "$ts_pro" ]
    then
        lupdate -no-obsolete $file
    fi

done