diff options
| -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 "$@" |
