From b2a6a1224b6be77c833ceab375d4cedfc9fac94d Mon Sep 17 00:00:00 2001 From: Josef Heinen Date: Thu, 5 Jan 2023 17:00:42 +0100 Subject: [PATCH] Allow selecting the binary using JULIA environment --- src/Mplay.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Mplay.sh b/src/Mplay.sh index 35ad3fc..f7b2d16 100755 --- a/src/Mplay.sh +++ b/src/Mplay.sh @@ -10,6 +10,7 @@ function realpath { } MPLAY_HOME=$(dirname $(realpath "$0")) +julia="${JULIA:-julia}" function usage() { @@ -49,4 +50,4 @@ if [ "$file" == "" ]; then exit 1 fi -env MIDI_DEVICE=${device} julia ${MPLAY_HOME}/${interface}.jl "${file}" +env MIDI_DEVICE=${device} ${julia} ${MPLAY_HOME}/${interface}.jl "${file}"