diff options
| author | Joey Hess <joeyh@joeyh.name> | 2015-03-22 10:05:03 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2015-03-22 10:05:03 -0400 |
| commit | fe7b1233f4fef3d9717eaa30e7781b3bdb21c058 (patch) | |
| tree | 31398337ac0b1f65618087966126d4a156573a28 /src/wrapper.hs | |
| parent | 93fe81bae9a632f19c6d64ecad9c7567821214dd (diff) | |
| parent | b32d05a661ff2b928bf9472abe8a39743ccea1e7 (diff) | |
Merge branch 'joeyconfig'
Diffstat (limited to 'src/wrapper.hs')
| -rw-r--r-- | src/wrapper.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrapper.hs b/src/wrapper.hs index 034eb2bf..a73ed969 100644 --- a/src/wrapper.hs +++ b/src/wrapper.hs @@ -77,7 +77,7 @@ wrapper args propellordir propellorbin = do , void $ boolSystem "git" [Param "clone", Param netrepo, File propellordir] ) - checkRepo = whenM (doesFileExist disthead) $ do + checkRepo = whenM (doesFileExist disthead <&&> doesFileExist (propellordir </> "propellor.cabal")) $ do headrev <- takeWhile (/= '\n') <$> readFile disthead changeWorkingDirectory propellordir headknown <- catchMaybeIO $ |
