Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos.buildout
Commits
e6c9c70e
Commit
e6c9c70e
authored
Apr 07, 2017
by
Kazuhiko Shiozaki
Committed by
Julien Muchembled
Dec 04, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Introduce a workaround for the shebang line length limitation in zc.buildout.easy_install.
parent
af9c3f92
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
src/zc/buildout/easy_install.py
src/zc/buildout/easy_install.py
+6
-1
No files found.
src/zc/buildout/easy_install.py
View file @
e6c9c70e
...
...
@@ -261,7 +261,12 @@ if is_win32:
def
_safe_arg
(
arg
):
return
'"%s"'
%
arg
else
:
_safe_arg
=
str
def
_safe_arg
(
arg
):
if
len
(
arg
)
<
126
:
return
arg
else
:
# Workaround for the shebang line length limitation.
return
'/bin/sh
\
n
"exec" "%s" "$0" "$@"'
%
arg
def
call_subprocess
(
args
,
**
kw
):
if
subprocess
.
call
(
args
,
**
kw
)
!=
0
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment