diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-07-12 17:06:42 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-07-12 17:06:42 -0400 |
commit | d4cfaf5348c4f70c46e90733f4f266c6e410ba19 (patch) | |
tree | 748aada6c3ea99d47ce2a1fa5bf81767cf53dd0d | |
parent | 5f5db1e390512cf68a5667863d5205f7d3e99a60 (diff) | |
download | keysafe-d4cfaf5348c4f70c46e90733f4f266c6e410ba19.tar.gz |
better way of finding stack built executable
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,7 @@ keysafe: $(BUILDER) build $(BUILDEROPTIONS); \ fi if [ "$(BUILDER)" = stack ]; then \ - ln -sf $$(find .stack-work/ -name keysafe -type f | grep build/keysafe/keysafe | tail -n 1) keysafe; \ + ln -sf $$(stack path --dist-dir)/build/keysafe/keysafe keysafe; \ else \ ln -sf dist/build/keysafe/keysafe keysafe; \ fi |