2011-11-06 17:09:08 +01:00
|
|
|
|
#!/bin/bash
|
|
|
|
|
|
2012-01-14 18:23:52 +01:00
|
|
|
|
ARGUMENTS=""
|
|
|
|
|
if [ "$1" == "-no-obsolete" ]; then
|
|
|
|
|
ARGUMENTS="-no-obsolete"
|
|
|
|
|
fi
|
2011-11-06 17:09:08 +01:00
|
|
|
|
## circular inclusions workaround - we comment that buggy line
|
2011-12-08 21:52:03 +01:00
|
|
|
|
sed -i 's/include(3rdparty/##temp/g' ../src/src.pro
|
2011-11-06 17:09:08 +01:00
|
|
|
|
|
2012-02-23 22:07:05 +01:00
|
|
|
|
lupdate $ARGUMENTS ../src/main/main.pro
|
|
|
|
|
lupdate $ARGUMENTS ../src/main/main.pro -ts ../translations/empty.ts
|
2011-11-06 17:09:08 +01:00
|
|
|
|
|
|
|
|
|
## uncomment it now
|
2011-12-08 21:52:03 +01:00
|
|
|
|
sed -i 's/##temp/include(3rdparty/g' ../src/src.pro
|
2011-11-06 17:09:08 +01:00
|
|
|
|
|
|
|
|
|
read -p "Press [ENTER] to close terminal"
|
|
|
|
|
exit
|