Hi!

I see that top configure script are updated from Perl version to Bash
version.
But it doesn't work, for example for shadows builds, because:

srcpath=`dirname $0`
configure=$srcpath/qtbase/configure  *<-- This line get relative path of
configure script if I build outside source tree*


if [ ! -e "$configure" ]; then
    echo "$configure not found. Did you forget to run \"init-repository\"?"
>&2
    exit 1
fi

mkdir -p qtbase || exit

echo "+ cd qtbase"
cd qtbase || exit  *<-- After that line relative path is break because we
change directory*

echo "+ $configure $@"
"*../*$configure" "$@" || exit 1  *<-- Proposed solution is using "../"
before configure*

echo "+ cd .."
cd ..

echo "+ qtbase/bin/qmake $srcpath"
exec qtbase/bin/qmake "$srcpath"


Regards,
Alexey.
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to