You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
414 B

#!/bin/bash
ARGUMENTS=""
if [ "$1" == "-no-obsolete" ]; then
ARGUMENTS="-no-obsolete"
fi
## circular inclusions workaround - we comment that buggy line
sed -i 's/include(3rdparty/##temp/g' ../src/lib/lib.pro
#lupdate $ARGUMENTS ../src/lib/lib.pro
cd ../src/lib/
lupdate $ARGUMENTS lib.pro -ts ../../translations/empty.ts
cd -
## uncomment it now
sed -i 's/##temp/include(3rdparty/g' ../src/lib/lib.pro
exit 0