summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Propellor/Server.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Server.hs b/src/Propellor/Server.hs
index a8cd6a00..eff56997 100644
--- a/src/Propellor/Server.hs
+++ b/src/Propellor/Server.hs
@@ -131,7 +131,7 @@ sendPrecompiled hn = void $ actionMessage ("Uploading locally compiled propellor
bracket getWorkingDirectory changeWorkingDirectory $ \_ -> do
changeWorkingDirectory tmpdir
let shimdir = "propellor"
- let me = localdir </> "propellor"
+ me <- readSymbolicLink "/proc/self/exe"
void $ Shim.setup me shimdir
withTmpFile "propellor.tar" $ \tarball _ -> allM id
[ boolSystem "strip" [File me]