summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2021-06-29 13:28:25 -0400
committerJoey Hess <joeyh@joeyh.name>2021-06-29 13:28:25 -0400
commit2db8167ddbfa080b44509d4532d7d34887cdc64a (patch)
tree997c359eaac8297ac01374d96c012d64c4913407 /Build
parent84db819626232d789864780a52b63a787d49ef52 (diff)
downloadgit-repair-2db8167ddbfa080b44509d4532d7d34887cdc64a.tar.gz
merge from git-annex
Fixes 2 bugs, one a data loss bug. It is possible to get those fixes without merging all the other changes, if a backport is wanted.
Diffstat (limited to 'Build')
-rw-r--r--Build/TestConfig.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/TestConfig.hs b/Build/TestConfig.hs
index 2f7213f..988db58 100644
--- a/Build/TestConfig.hs
+++ b/Build/TestConfig.hs
@@ -97,7 +97,7 @@ searchCmd success failure cmdsparams = search cmdsparams
- the command. -}
findCmdPath :: ConfigKey -> String -> Test
findCmdPath k command = do
- ifM (inPath command)
+ ifM (inSearchPath command)
( return $ Config k $ MaybeStringConfig $ Just command
, do
r <- getM find ["/usr/sbin", "/sbin", "/usr/local/sbin"]