mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-24 04:36:34 +01:00
18 lines
442 B
Bash
Executable File
18 lines
442 B
Bash
Executable File
#!/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
|
||
lupdate $ARGUMENTS ../src/lib/lib.pro -ts ../translations/empty.ts
|
||
|
||
## uncomment it now
|
||
sed -i 's/##temp/include(3rdparty/g' ../src/lib/lib.pro
|
||
|
||
read -p "Press [ENTER] to close terminal"
|
||
exit
|