[cygport - the Cygwin packaging tool] branch master, updated. 0.33.1-24-gb12d739

Yaakov Selkowitz via Cygwin-apps-cvs <[email protected]>
Newsgroups gmane.os.cygwin.cvs.apps
Message-ID <[email protected]>


https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/cygport.git;h=b12d739379a840781dd3cc90924ac864ab5264f3

commit b12d739379a840781dd3cc90924ac864ab5264f3
Author: Yaakov Selkowitz <[email protected]>
Date:   Tue Apr 14 00:41:15 2020 -0400

    python3-distutils: force hardcoding of python3.y instead of python3


Diff:
---
 cygclass/python3-distutils.cygclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cygclass/python3-distutils.cygclass b/cygclass/python3-distutils.cygclass
index 63852b9..77adc03 100644
--- a/cygclass/python3-distutils.cygclass
+++ b/cygclass/python3-distutils.cygclass
@@ -51,7 +51,7 @@ python3_distutils_compile() {
 		error "No Python Distutils module detected"
 	fi
 
-	${PYTHON3} setup.py build "${@}" || error "setup.py build failed"
+	$(readlink -f ${PYTHON3}) setup.py build "${@}" || error "setup.py build failed"
 }
 
 #****I* python3-distutils.cygclass/python3_distutils_install
@@ -67,7 +67,7 @@ python3_distutils_install() {
 		error "No Python Distutils module detected"
 	fi
 
-	${PYTHON3} setup.py "${@}" install --no-compile --root=${D} || error "setup.py install failed"
+	$(readlink -f ${PYTHON3}) setup.py "${@}" install --no-compile --root=${D} || error "setup.py install failed"
 }
 
 #****o* python3-distutils.cygclass/src_compile (python3-distutils)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.