fix osx build

This commit is contained in:
Joey Hess 2013-11-24 16:04:12 -04:00
parent f913deab78
commit 5e470957c6

View file

@ -223,7 +223,7 @@ oldVersionLocation = do
let dirs = splitDirectories pdir
{- It will probably be deep inside a git-annex.app directory. -}
let p = takeWhile (/= "git-annex.app") dirs
olddir <- if p == dirs
let olddir = if p == dirs
then pdir
else joinPath (p ++ ["git-annex.app"]
#else