about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorArun Isaac2025-11-17 18:11:20 +0000
committerArun Isaac2025-11-17 18:11:20 +0000
commit8381be378a361a4a67bee24cf0f35acca7968bb1 (patch)
treeb700be5e59246b4796fee88f6d169d6b40436997 /Makefile
parent3b7fd7c399218d080855c68181f5a9a8f25a259f (diff)
downloadrun64-8381be378a361a4a67bee24cf0f35acca7968bb1.tar.gz
run64-8381be378a361a4a67bee24cf0f35acca7968bb1.tar.lz
run64-8381be378a361a4a67bee24cf0f35acca7968bb1.zip
bin: Use dirname of script instead of which to find run64.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 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