author | sandman <sandman> | 2002-06-13 15:08:49 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-06-13 15:08:49 (UTC) |
commit | 1b5c103ca47a091c37c084133c3b26b8d6e04db5 (patch) (side-by-side diff) | |
tree | ccd5db0a47965a1169976074c0b341032f5b82c2 | |
parent | d3cf2ac6fb114cbabc5de481ea275b30f396d2a1 (diff) | |
download | opie-1b5c103ca47a091c37c084133c3b26b8d6e04db5.zip opie-1b5c103ca47a091c37c084133c3b26b8d6e04db5.tar.gz opie-1b5c103ca47a091c37c084133c3b26b8d6e04db5.tar.bz2 |
Fixed a bug concerning spaces in path/file names
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -149,63 +149,63 @@ if [ "$QT3" = yes ] then VCONFIG="CONFIG+=qt3" else VCONFIG="CONFIG+=qt2" fi if [ -f $TMAKEPATH/tmake.conf ] then # You have tmake. We'll regenerate the file for you... echo "Makefiles will be regenerated." fi H=`pwd` if [ -z "$TOMAKE" ] then TOMAKE=`make showcomponents` fi for a in $TOMAKE ; do N=$a/Makefile M=$a/Makefile.in O=$a/Makefile.add f=`basename $a` - if [ -f $TMAKEPATH/tmake.conf -a -f $a/$f.pro ] + if [ -f "$TMAKEPATH/tmake.conf" -a -f "$a/$f.pro" ] then ( cd $a; TMAKEPATH=$QTDIR/tmake:$TMAKEPATH \ tmake $QCONFIGARG CONFIG+=embedded $VCONFIG \ -t $H/qt/tmake/propagate.t $f.pro | sed -e "s|$QTDIR|\$(QTDIR)|g" -e "s|$OPIEDIR|\$(OPIEDIR)|g" >Makefile.in; ) echo -n "." # echo Building $N.. appname=`grep '^TARGET' $a/$f.pro | sed 's/^TARGET.*=//' | sed 's/ //g'` translation=`grep '^TRANSLATION.*[^+]=.*' $a/$f.pro | sed 's,^TRANSL.*=.*i18n\/.*\/,,' | sed 's/ //g' | sed 's,\.ts.*,,' | sed 's,^lib,,' ` if [ -n "$translation" -a -n "$appname" ] then - if [ $appname != $translation ] + if [ "$appname" != "$translation" ] then echo echo "Warning: translation and appname disagree in $a/$f.pro" fi fi fi cat > $N <<EOF ############################################################################# # Automatically generated from $M # Build options from $1 ############################################################################# EOF SED= PLATFORM_CFLAGS= if [ "$f" = "embeddedkonsole" ] then case $PLATFORM in *x86*|*generic*|*ipaq*|*sharp*) SED="$SED /^LIBS.*=/s/\$/ -lutil/;" |