tail the find in dist-newstyle
unfortunately old builds for old versions can linger in there
This commit is contained in:
parent
572369ced2
commit
0f43efa15b
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -58,7 +58,7 @@ git-annex: tmp/configure-stamp
|
|||
ln -sf $$(stack path $(BUILDERCOMMONOPTIONS) --dist-dir)/build/git-annex/git-annex git-annex; \
|
||||
else \
|
||||
if [ -d dist-newstyle ]; then \
|
||||
ln -sf $$(find dist-newstyle/ -executable -type f |grep 'git-annex$$') git-annex; \
|
||||
ln -sf $$(find dist-newstyle/ -executable -type f | grep 'git-annex$$' | tail -n1) git-annex; \
|
||||
else \
|
||||
ln -sf dist/build/git-annex/git-annex git-annex; \
|
||||
fi; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue