3
export PATH="/usr/kde/3.5/bin/${PATH/kde\/4.2/kde/3.5}"
6
msgmergebin=`which msgmerge`
7
elif [ -x "$1" ] ; then
10
echo "The given parameter does not point to an executable file" >&2
14
$msgmergebin --version |grep -q 0.10.35 || { echo "The provided msgmerge binary is most likely a non-KDE version." >&2 ; echo "Please provide the patched version as a parameter for this script." >&2 ; exit 1 ; }
16
$msgmergebin --version
20
cd .. ; make -f admin/Makefile.common package-messages ; cd po
22
catalogs=`find . -name '*.po'`
23
for cat in $catalogs; do
25
$msgmergebin -o $cat.new $cat ${PROJECT}.pot && mv $cat.new $cat