summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-12-28 17:14:29 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-12-28 17:14:29 -0400
commitb7975e196a0856ee3f55c39bc4b1db210c701001 (patch)
treeef77ded2051d9fd7b2177c07e4d7343ca3628def /Makefile
parent0b901178dfc617eb5241e1cef7cef6157a68c787 (diff)
defer find to after build
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 15e88a131..342152c9f 100644
--- a/Makefile
+++ b/Makefile
@@ -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 | tail -n 1) git-annex; \
+ ln -sf $$(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