diff options
| author | Joey Hess <joey@kitenet.net> | 2014-11-22 22:11:36 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-11-22 22:13:00 -0400 |
| commit | 81e52f1e14d92a455a873afc183aa9d4333876b4 (patch) | |
| tree | de3c59dc49c54ab2f05ef0100d6c8cef769f88b8 /src | |
| parent | 96ecbaad25076901802dd7a311161d46a1212d68 (diff) | |
update
Diffstat (limited to 'src')
| -rw-r--r-- | src/Propellor/Spin.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Propellor/Spin.hs b/src/Propellor/Spin.hs index 228c4027..06bac330 100644 --- a/src/Propellor/Spin.hs +++ b/src/Propellor/Spin.hs @@ -224,7 +224,9 @@ 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" (localdir </> "bin/propellor") "." + let bin = "bin/propellor" + let binpath = Just $ localdir </> bin + void $ Shim.setup bin binpath "." changeWorkingDirectory tmpdir withTmpFile "propellor.tar." $ \tarball _ -> allM id [ boolSystem "strip" [File me] |
