mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 13:03:17 +01:00
ebed8af1d0
f170fe04ca03fe4021cbff7c5450ce3cc7fda17f depends: update doc in Qt pwd patch (fanquake)
Pull request description:
Now that upstream has gotten around to fixing this. We don't need any more of the patch, and it likely wont apply to our version of Qt in any case. See: 3388de698b
.
ACKs for top commit:
theuni:
ACK f170fe04ca03fe4021cbff7c5450ce3cc7fda17f
Tree-SHA512: f6db8ccad591b1bf144ce71f873f42a115d394c432a95b6b855e3e32751e6331145e0d9676657599b25fd369af8c72c1bd34e192a7a1062c15f152421422a9ed
28 lines
792 B
Diff
28 lines
792 B
Diff
Do not assume FHS in scripts
|
|
|
|
On systems that do not follow the Filesystem Hierarchy Standard, such as
|
|
guix, the hardcoded `/bin/pwd` will fail to be found so that the script
|
|
will fail.
|
|
|
|
Use `pwd`, instead, so that the command can be found through the normal
|
|
path search mechanism.
|
|
|
|
See https://github.com/qt/qtbase/commit/3388de698bfb9bbc456c08f03e83bf3e749df35c.
|
|
|
|
diff --git a/qtbase/configure b/qtbase/configure
|
|
index 08b49a8d..faea5b55 100755
|
|
--- a/qtbase/configure
|
|
+++ b/qtbase/configure
|
|
@@ -36,9 +36,9 @@
|
|
relconf=`basename $0`
|
|
# the directory of this script is the "source tree"
|
|
relpath=`dirname $0`
|
|
-relpath=`(cd "$relpath"; /bin/pwd)`
|
|
+relpath=`(cd "$relpath"; pwd)`
|
|
# the current directory is the "build tree" or "object tree"
|
|
-outpath=`/bin/pwd`
|
|
+outpath=`pwd`
|
|
|
|
WHICH="which"
|
|
|