Inside Bitcoin
Opening the selected file…
Inside Bitcoin
Opening the selected file…
The code behind the network, with room to understand it.
Release published 2026-10-28 · Snapshot fetched 2026-11-01. Latest stable release at fetch time; development branches and Git history are excluded. Only the selected code window and visible folders load here.
1Do not assume FHS in scripts3On systems that do not follow the Filesystem Hierarchy Standard, such as4guix, the hardcoded `/bin/pwd` will fail to be found so that the script5will fail.7Use `pwd`, instead, so that the command can be found through the normal8path search mechanism.10See https://github.com/qt/qtbase/commit/3388de698bfb9bbc456c08f03e83bf3e749df35c.12diff --git a/qtbase/configure b/qtbase/configure13index 08b49a8d..faea5b55 10075514--- a/qtbase/configure15+++ b/qtbase/configure16@@ -9,9 +9,9 @@18# the directory of this script is the "source tree"19relpath=`dirname "$0"`20-relpath=`(cd "$relpath"; /bin/pwd)`21+relpath=`(cd "$relpath"; pwd)`22# the current directory is the "build tree" or "object tree"23-outpath=`/bin/pwd`24+outpath=`pwd`25outpathPrefix=$outpath27# do this early so we don't store it in config.status29--- a/qtbase/bin/qt-cmake.in30+++ b/qtbase/bin/qt-cmake.in31@@ -2,7 +2,7 @@33# The directory of this script is the expanded absolute path of the "$qt_prefix/bin" directory.34script_dir_path=`dirname $0`35-script_dir_path=`(cd "$script_dir_path"; /bin/pwd)`36+script_dir_path=`(cd "$script_dir_path"; pwd)`38# Try to use original cmake, otherwise to make it relocatable, use any cmake found in PATH.39original_cmake_path="@CMAKE_COMMAND@"41--- a/qtbase/bin/qt-configure-module.in42+++ b/qtbase/bin/qt-configure-module.in43@@ -2,7 +2,7 @@44set -eu46script_dir_path=`dirname $0`47-script_dir_path=`(cd "$script_dir_path"; /bin/pwd)`48+script_dir_path=`(cd "$script_dir_path"; pwd)`50printUsage()51{
Independent explanations by MyBitcoinExplorer. Not affiliated with or endorsed by Bitcoin Core. Guides are educational and do not replace the source or its tests.
Bitcoin Core source © its contributors, distributed under the MIT license. Original notices and bundled third-party licenses are retained in the source tree.