Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-shell
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-shell
Commits
2ac57e18
Commit
2ac57e18
authored
Mar 11, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'environment_variables' into 'master'
Restrict Environment Variables
parents
c02ec5b6
635bb114
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lib/gitlab_shell.rb
lib/gitlab_shell.rb
+2
-2
No files found.
lib/gitlab_shell.rb
View file @
2ac57e18
...
...
@@ -59,8 +59,8 @@ class GitlabShell
api
.
allowed?
(
@git_cmd
,
@repo_name
,
@key_id
,
'_any'
)
end
def
exec_cmd
*
args
Kernel
::
exec
*
args
def
exec_cmd
(
*
args
)
Kernel
::
exec
({
'PATH'
=>
ENV
[
'PATH'
],
'GL_ID'
=>
ENV
[
'GL_ID'
]},
*
args
,
unset_env_others:
true
)
end
def
api
...
...
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