summaryrefslogtreecommitdiff
authorsandman <sandman>2002-06-13 15:08:49 (UTC)
committer sandman <sandman>2002-06-13 15:08:49 (UTC)
commit1b5c103ca47a091c37c084133c3b26b8d6e04db5 (patch) (side-by-side diff)
treeccd5db0a47965a1169976074c0b341032f5b82c2
parentd3cf2ac6fb114cbabc5de481ea275b30f396d2a1 (diff)
downloadopie-1b5c103ca47a091c37c084133c3b26b8d6e04db5.zip
opie-1b5c103ca47a091c37c084133c3b26b8d6e04db5.tar.gz
opie-1b5c103ca47a091c37c084133c3b26b8d6e04db5.tar.bz2
Fixed a bug concerning spaces in path/file names
Diffstat (more/less context) (ignore whitespace changes)
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 299e867..cfc4c39 100755
--- a/configure
+++ b/configure
@@ -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/;"