mirror of
git://code.qt.io/qt/qt5.git
synced 2025-12-21 07:28:21 +08:00
Make top-level configure script more portable
Remove hard-coded path to pwd; there is no need to have it, and for example
NixOS doesn't actually have it at this location, leading to such an error:
./configure: line 36: /bin/pwd: No such file or directory
/qtbase/configure not found. Did you forget to run "init-repository"?
Change-Id: If3372db3390ba5f39c5003d12ff2a466f39ff353
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
This commit is contained in:
committed by
Liang Qi
parent
b5e631ad6f
commit
6c6169f292
2
configure
vendored
2
configure
vendored
@@ -33,7 +33,7 @@
|
||||
#############################################################################
|
||||
|
||||
srcpath=`dirname $0`
|
||||
srcpath=`(cd "$srcpath"; /bin/pwd)`
|
||||
srcpath=`(cd "$srcpath"; pwd)`
|
||||
configure=$srcpath/qtbase/configure
|
||||
if [ ! -e "$configure" ]; then
|
||||
echo "$configure not found. Did you forget to run \"init-repository\"?" >&2
|
||||
|
||||
Reference in New Issue
Block a user