public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* [cygport - the Cygwin packaging tool] branch master, updated. 0.33.1-24-gb12d739
@ 2020-04-14  4:42 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2020-04-14  4:42 UTC (permalink / raw)
  To: cygwin-apps-cvs




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

commit b12d739379a840781dd3cc90924ac864ab5264f3
Author: Yaakov Selkowitz <yselkowi@redhat.com>
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)



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-14  4:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-14  4:42 [cygport - the Cygwin packaging tool] branch master, updated. 0.33.1-24-gb12d739 Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).