[Development] Update configure script
Ahumada Sergio
Sergio.Ahumada at digia.com
Mon Jun 24 07:49:42 CEST 2013
Hi,
This is already fixed in the release branch https://codereview.qt-project.org/59617 and will be fixed in the stable branch as soon as possible.
Cheers,
--
Sergio Ahumada
Release Engineer - Digia, Qt
________________________________
From: development-bounces+sergio.ahumada=digia.com at qt-project.org [development-bounces+sergio.ahumada=digia.com at qt-project.org] on behalf of Alexey Pavlov [alexpux at gmail.com]
Sent: Monday, June 24, 2013 07:37
To: development at qt-project.org
Subject: [Development] Update configure script
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130624/c192d57f/attachment.html>
More information about the Development
mailing list