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) (show 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
@@ -167,13 +167,13 @@ 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;
@@ -181,13 +181,13 @@ for a in $TOMAKE ; do
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