projects
/
qscintilla2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa23be9
)
Fix sip_file path detection
author
Scott Kitterman
<scott@kitterman.com>
Fri, 15 Dec 2017 19:05:22 +0000
(14:05 -0500)
committer
Dmitry Shachnev
<mitya57@debian.org>
Wed, 11 Mar 2020 21:01:30 +0000
(21:01 +0000)
Gbp-Pq: Name 0007-Fix-sip_file-path-detection.patch
Python/configure.py
patch
|
blob
|
history
diff --git
a/Python/configure.py
b/Python/configure.py
index d2a5bc96a399618cad19f0d9c6d64e904bd24fc0..401e692ea29a09d315c3c5d71119debec4567a69 100644
(file)
--- a/
Python/configure.py
+++ b/
Python/configure.py
@@
-1362,7
+1362,7
@@
def _generate_code(target_config, opts, pkg_config, module_config, all_installs)
sip_file = module_config.get_sip_file(target_config)
head, tail = os.path.split(sip_file)
- while head:
+ while head
!= '/'
:
head, tail = os.path.split(head)
if tail != sip_file: