diff options
Diffstat (limited to 'lang/python314/files/patch-Misc_python-config.sh.in')
| -rw-r--r-- | lang/python314/files/patch-Misc_python-config.sh.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/python314/files/patch-Misc_python-config.sh.in b/lang/python314/files/patch-Misc_python-config.sh.in new file mode 100644 index 000000000000..7da9da93d197 --- /dev/null +++ b/lang/python314/files/patch-Misc_python-config.sh.in @@ -0,0 +1,11 @@ +--- Misc/python-config.sh.in.orig 2025-01-16 01:47:29 UTC ++++ Misc/python-config.sh.in +@@ -21,7 +21,7 @@ installed_prefix () + # Returns the actual prefix where this script was installed to. + installed_prefix () + { +- RESULT=$(dirname $(cd $(dirname "$1") && pwd -P)) ++ RESULT=$(dirname $(cd $(dirname $(realpath "$1")) && pwd -P)) + if which readlink >/dev/null 2>&1 ; then + if readlink -f "$RESULT" >/dev/null 2>&1; then + RESULT=$(readlink -f "$RESULT") |
