summaryrefslogtreecommitdiff
path: root/src/Propellor
diff options
context:
space:
mode:
Diffstat (limited to 'src/Propellor')
-rw-r--r--src/Propellor/Server.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Propellor/Server.hs b/src/Propellor/Server.hs
index a72c83ae..fb37ff1a 100644
--- a/src/Propellor/Server.hs
+++ b/src/Propellor/Server.hs
@@ -129,6 +129,7 @@ sendPrecompiled hn = void $ actionMessage ("Uploading locally compiled propellor
withTmpDir "propellor" $ \tmpdir ->
bracket getWorkingDirectory changeWorkingDirectory $ \_ -> do
let shimdir = "propellor"
+ createDirectoryIfMissing True shimdir
changeWorkingDirectory shimdir
me <- readSymbolicLink "/proc/self/exe"
shim <- Shim.setup me "."