This commit is contained in:
Joey Hess 2014-11-22 22:11:36 -04:00
parent 96ecbaad25
commit 81e52f1e14
2 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View File

@ -7,3 +7,4 @@ Setup
Setup.hi
Setup.o
docker
propellor.1

View File

@ -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]