diff options
author | Svintsov Dmitry <root@uralbash.ru> | 2016-12-22 21:03:53 +0500 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2017-02-24 12:19:39 +0000 |
commit | 6c6169f292476046e62c6c62968ac72a914cb5a3 (patch) | |
tree | 4c73d03a561f83263456e720580f3b820f317f42 /configure | |
parent | b5e631ad6ff9e8de3603f587e1ea268fc2935dc2 (diff) |
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>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |