diff options
| author | Arun Isaac | 2025-11-17 18:11:20 +0000 |
|---|---|---|
| committer | Arun Isaac | 2025-11-17 18:11:20 +0000 |
| commit | 8381be378a361a4a67bee24cf0f35acca7968bb1 (patch) | |
| tree | b700be5e59246b4796fee88f6d169d6b40436997 | |
| parent | 3b7fd7c399218d080855c68181f5a9a8f25a259f (diff) | |
| download | run64-8381be378a361a4a67bee24cf0f35acca7968bb1.tar.gz run64-8381be378a361a4a67bee24cf0f35acca7968bb1.tar.lz run64-8381be378a361a4a67bee24cf0f35acca7968bb1.zip | |
bin: Use dirname of script instead of which to find run64.
| -rw-r--r-- | Makefile | 2 | ||||
| -rwxr-xr-x | 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 <https://www.gnu.org/licenses/>. -guile --no-auto-compile $(which run64) "$@" +guile --no-auto-compile $(dirname $0)/run64 "$@" |
