diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-12-28 16:45:33 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-12-28 16:45:33 -0400 |
commit | 0b901178dfc617eb5241e1cef7cef6157a68c787 (patch) | |
tree | cddd1909db910ae4236799fe84efafd401d397e2 /Makefile | |
parent | 726fdb9352c133cf6dce31c4018e08ab0fa69beb (diff) |
improve binary finding
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -27,7 +27,7 @@ Build/SysConfig.hs: configure.hs Build/TestConfig.hs Build/Configure.hs git-annex: Build/SysConfig.hs $(BUILDER) build -j1 if [ "$(BUILDER)" = stack ]; then \ - ln -sf $(shell find .stack-work/ -name git-annex -type f | grep build/git-annex/git-annex) git-annex; \ + ln -sf $(shell find .stack-work/ -name git-annex -type f | grep build/git-annex/git-annex | tail -n 1) git-annex; \ else \ ln -sf dist/build/git-annex/git-annex git-annex; \ fi |