mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 18:16:48 -04:00
Python is an interpreted object-oriented programming language, and is often compared to Tcl, Perl or Scheme. WWW: https://www.python.org/ PR: 259745 Approved by: python
11 lines
464 B
Bash
11 lines
464 B
Bash
--- Misc/python-config.sh.in.orig 2018-07-13 21:07:16 UTC
|
|
+++ Misc/python-config.sh.in
|
|
@@ -15,7 +15,7 @@ fi
|
|
# 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")
|