From 8381be378a361a4a67bee24cf0f35acca7968bb1 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 17 Nov 2025 18:11:20 +0000 Subject: bin: Use dirname of script instead of which to find run64. --- Makefile | 2 +- bin/guile-run64 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 77f93fa..058c1d1 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7 @@ install: $(scripts) # If you are hacking on a Guile project, you presumably have # guile in your PATH. We want to use that guile and not put in # a specific guile. - $(SED) -i 's|$$(which run64)|$(bindir)/run64|' $(bindir)/guile-run64 + $(SED) -i 's|$$(dirname $$0)/run64|$(bindir)/run64|' $(bindir)/guile-run64 website: website/index.html diff --git a/bin/guile-run64 b/bin/guile-run64 index 7408db0..a04c3cb 100755 --- a/bin/guile-run64 +++ b/bin/guile-run64 @@ -18,4 +18,4 @@ # You should have received a copy of the GNU General Public License # along with run64. If not, see . -guile --no-auto-compile $(which run64) "$@" +guile --no-auto-compile $(dirname $0)/run64 "$@" -- cgit 1.4.1