Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argo
argonix
Commits
406b8a77
Commit
406b8a77
authored
Mar 01, 2019
by
Valentin Reis
Browse files
move mkdir inside when
parent
b413a638
Pipeline
#5765
passed with stage
in 1 minute and 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/Argonix.hs
View file @
406b8a77
...
...
@@ -288,8 +288,8 @@ setupSystem sa = do
createAndSetTMPDIR
name
=
do
{-localpath <- (</> fromText name) <$> pwd-}
let
path
=
"/tmp"
</>
fromText
name
testpath
path
>>=
flip
when
(
rmtree
path
)
mkdir
path
testpath
path
>>=
flip
when
(
rmtree
path
>>
mkdir
path
)
case
toText
path
of
Right
p
->
sh
$
do
inshell
(
"chmod 777 "
<>
p
)
empty
...
...
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