summaryrefslogtreecommitdiff
path: root/src/Propellor/Spin.hs
diff options
context:
space:
mode:
authorJoey Hess2014-11-22 22:10:53 -0400
committerJoey Hess2014-11-22 22:10:53 -0400
commit96ecbaad25076901802dd7a311161d46a1212d68 (patch)
tree74f5b4aa02aa384c4fd5470076d24a4e89ed17a7 /src/Propellor/Spin.hs
parent7c5188b202977d341bdfae504c987e8ee0451157 (diff)
pute full path to bin/propellor inside shim
Diffstat (limited to 'src/Propellor/Spin.hs')
-rw-r--r--src/Propellor/Spin.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Spin.hs b/src/Propellor/Spin.hs
index 6add4f9f..228c4027 100644
--- a/src/Propellor/Spin.hs
+++ b/src/Propellor/Spin.hs
@@ -224,7 +224,7 @@ sendPrecompiled hn = void $ actionMessage ("Uploading locally compiled propellor
createDirectoryIfMissing True "bin"
unlessM (boolSystem "cp" [File me, File "bin/propellor"]) $
errorMessage "failed copying in propellor"
- void $ Shim.setup "bin/propellor" "."
+ void $ Shim.setup "bin/propellor" (localdir </> "bin/propellor") "."
changeWorkingDirectory tmpdir
withTmpFile "propellor.tar." $ \tarball _ -> allM id
[ boolSystem "strip" [File me]