| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | lupdate=`whichscip-shell system . . which. lupdate 2> /dev/nullscip-shell filesystem . . `/dev/null`.` |
| 4 | if testscip-shell system . . test. -z "$lupdate" |
| 5 | then |
| 6 | lupdate=`whichscip-shell system . . which. lupdate-qt4 2> /dev/nullscip-shell filesystem . . `/dev/null`.` |
| 7 | fi |
| 8 | if testscip-shell system . . test. -z "$lupdate" |
| 9 | then |
| 10 | echoscip-shell system . . echo. "lupdate not found" |
| 11 | exit 1 |
| 12 | fi |
| 13 | |
| 14 | echoscip-shell system . . echo. "using $lupdate" |
| 15 | "$lupdate" `findscip-shell system . . find. src -name \*.cpp` -ts translations/*.ts -no-obsolete |
| 16 |