summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2020-07-03 10:27:31 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2020-07-03 10:53:54 (GMT)
commitd5636c45e238e8b1c559dc8db5e29250ead727d8 (patch)
tree0e4120604e72a97600c6aed0d6f73327347a0cd7
parentcfe87cda7ef48c4f55f15c78aaaa041d3a007eef (diff)
downloadeobuilder-master.zip
eobuilder-master.tar.gz
eobuilder-master.tar.bz2
misc: make urljoin works with git+ssh:// URLs (#44790)HEADv23master
-rwxr-xr-xeobuilder-ctl5
1 files changed, 5 insertions, 0 deletions
diff --git a/eobuilder-ctl b/eobuilder-ctl
index 3616b23..4ee77dd 100755
--- a/eobuilder-ctl
+++ b/eobuilder-ctl
@@ -15,6 +15,11 @@ from eobuilder import settings, VERSION, init
from eobuilder.changelog import changelog_from_git
from eobuilder.cmdline import parse_cmdline, error, cat, touch, call, output, setup_py
+
+# fix urljoin for git+ssh:// URLs
+if 'git+ssh' not in urllib.parse.uses_relative:
+ urllib.parse.uses_relative.append('git+ssh')
+
def rm_recursive(path):
if os.path.exists(path):
shutil.rmtree(path)