Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.recipe.cmmi
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xavier Thompson
slapos.recipe.cmmi
Commits
17ec5a57
Commit
17ec5a57
authored
Oct 02, 2018
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Also set TMPDIR and TEMP environment variables"
This reverts commit
daa833ea
.
parent
ba793c61
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
58 deletions
+5
-58
slapos/recipe/cmmi/README.txt
slapos/recipe/cmmi/README.txt
+4
-54
slapos/recipe/cmmi/__init__.py
slapos/recipe/cmmi/__init__.py
+1
-4
No files found.
slapos/recipe/cmmi/README.txt
View file @
17ec5a57
This diff is collapsed.
Click to expand it.
slapos/recipe/cmmi/__init__.py
View file @
17ec5a57
...
@@ -143,10 +143,7 @@ class Recipe(object):
...
@@ -143,10 +143,7 @@ class Recipe(object):
# environment.
# environment.
for
key
in
self
.
environ
:
for
key
in
self
.
environ
:
self
.
environ
[
key
]
=
self
.
environ
[
key
]
%
os
.
environ
self
.
environ
[
key
]
=
self
.
environ
[
key
]
%
os
.
environ
self
.
environ
[
'TMP'
]
=
os
.
path
.
join
(
options
[
'default-location'
],
'tmp'
)
# Always define TMPDIR, TEMP and TMP
for
key
in
(
'TMPDIR'
,
'TEMP'
,
'TMP'
):
self
.
environ
[
key
]
=
os
.
path
.
join
(
options
[
'default-location'
],
'tmp'
)
def
augmented_environment
(
self
):
def
augmented_environment
(
self
):
"""Returns a dictionary containing the current environment variables
"""Returns a dictionary containing the current environment variables
...
...
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