|
|
|
@ -6,9 +6,10 @@ julia_args() { |
|
|
|
# Create a bin directory |
|
|
|
# Create a bin directory |
|
|
|
mkdir -p bin |
|
|
|
mkdir -p bin |
|
|
|
# Create a wrapper script to call julia with the arguments |
|
|
|
# Create a wrapper script to call julia with the arguments |
|
|
|
echo "#!/bin/bash |
|
|
|
{ |
|
|
|
exec $(which julia) "$@" \"\$@\" |
|
|
|
echo "#!/bin/bash" |
|
|
|
" > bin/julia |
|
|
|
echo "exec $(which julia) $* \"\$@\"" |
|
|
|
|
|
|
|
} > bin/julia |
|
|
|
# Make it executable |
|
|
|
# Make it executable |
|
|
|
chmod +x bin/julia |
|
|
|
chmod +x bin/julia |
|
|
|
# Make sure bin is in PATH |
|
|
|
# Make sure bin is in PATH |
|
|
|
|