Skip to content

Commit

Permalink
More explicit path resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
gtrepta committed Oct 7, 2024
1 parent 6d9e534 commit 8386d62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion find-k.mak
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export K_HOME?=/usr
else ifneq (,$(wildcard /usr/local/include/kframework/ktest.mak))
export K_HOME?=/usr/local
else ifneq (,$(shell which kompile))
export K_HOME?=$(abspath $(shell which kompile)/../..)
export K_HOME?=$(abspath $(dir $(shell which kompile))/..)
else
$(error "Could not find installation of K. Please set K_HOME environment variable to your K installation.")
endif

0 comments on commit 8386d62

Please sign in to comment.