Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tails
tails
Commits
c78e6e2a
Commit
c78e6e2a
authored
Sep 15, 2015
by
anonym
Browse files
Create TMPDIR with mkdir_p.
So any missing parent directories are created too.
parent
9a265941
Changes
1
Hide whitespace changes
Inline
Side-by-side
features/support/hooks.rb
View file @
c78e6e2a
...
...
@@ -17,7 +17,7 @@ AfterConfiguration do |config|
FileUtils
.
chmod
(
0755
,
$config
[
"TMPDIR"
])
else
begin
Dir
.
mkdir
(
$config
[
"TMPDIR"
])
FileUtils
.
mkdir
_p
(
$config
[
"TMPDIR"
])
rescue
Errno
::
EACCES
=>
e
raise
"Cannot create temporary directory:
#{
e
.
to_s
}
"
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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