Skip to content

Commit b2a6a12

Browse files
committed
Allow selecting the binary using JULIA environment
1 parent cfad7b3 commit b2a6a12

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Mplay.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ function realpath {
1010
}
1111

1212
MPLAY_HOME=$(dirname $(realpath "$0"))
13+
julia="${JULIA:-julia}"
1314

1415
function usage()
1516
{
@@ -49,4 +50,4 @@ if [ "$file" == "" ]; then
4950
exit 1
5051
fi
5152

52-
env MIDI_DEVICE=${device} julia ${MPLAY_HOME}/${interface}.jl "${file}"
53+
env MIDI_DEVICE=${device} ${julia} ${MPLAY_HOME}/${interface}.jl "${file}"

0 commit comments

Comments
 (0)