author | kergoth <kergoth> | 2002-03-19 02:41:55 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-03-19 02:41:55 (UTC) |
commit | 7a4ff15ff356a484a498249f01354dce549eaec2 (patch) (unidiff) | |
tree | 42956816894db05e0ae8f30956545e1b9301a9ef | |
parent | 0097a3253cae1c440a9d10c1dec261f10023195b (diff) | |
download | opie-7a4ff15ff356a484a498249f01354dce549eaec2.zip opie-7a4ff15ff356a484a498249f01354dce549eaec2.tar.gz opie-7a4ff15ff356a484a498249f01354dce549eaec2.tar.bz2 |
ugh.. configure couldnt handle the translation variables properly in its translation = appname sanity check.
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -169,17 +169,17 @@ for a in $TOMAKE ; do | |||
169 | ( cd $a; | 169 | ( cd $a; |
170 | TMAKEPATH=$QTDIR/tmake:$TMAKEPATH \ | 170 | TMAKEPATH=$QTDIR/tmake:$TMAKEPATH \ |
171 | tmake $QCONFIGARG CONFIG+=embedded $VCONFIG \ | 171 | tmake $QCONFIGARG CONFIG+=embedded $VCONFIG \ |
172 | -t $H/qt/tmake/propagate.t $f.pro | | 172 | -t $H/qt/tmake/propagate.t $f.pro | |
173 | sed -e "s|$QTDIR|\$(QTDIR)|g" -e "s|$OPIEDIR|\$(OPIEDIR)|g" >Makefile.in; | 173 | sed -e "s|$QTDIR|\$(QTDIR)|g" -e "s|$OPIEDIR|\$(OPIEDIR)|g" >Makefile.in; |
174 | ) | 174 | ) |
175 | echo -n "." | 175 | echo -n "." |
176 | appname=`grep '^TARGET' $a/$f.pro | sed 's/^TARGET.*=//' | sed 's/ //g'` | 176 | appname=`grep '^TARGET' $a/$f.pro | sed 's/^TARGET.*=//' | sed 's/ //g'` |
177 | translation=`grep '^TRANSLATION' $a/$f.pro | sed 's,^TRANSL.*=.*i18n\/.*\/,,' | sed 's/ //g' | sed 's,\.ts.*,,' | sed 's,^lib,,' ` | 177 | translation=`grep '^TRANSLATION.*[^+]=.*' $a/$f.pro | sed 's,^TRANSL.*=.*i18n\/.*\/,,' | sed 's/ //g' | sed 's,\.ts.*,,' | sed 's,^lib,,' ` |
178 | if [ -n "$translation" -a -n "$appname" ] | 178 | if [ -n "$translation" -a -n "$appname" ] |
179 | then | 179 | then |
180 | if [ $appname != $translation ] | 180 | if [ $appname != $translation ] |
181 | then | 181 | then |
182 | echo | 182 | echo |
183 | echo "Warning: translation and appname disagree in $a/$f.pro" | 183 | echo "Warning: translation and appname disagree in $a/$f.pro" |
184 | fi | 184 | fi |
185 | fi | 185 | fi |