mirror of https://github.com/fredrikekre/.dotfiles
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
361 B
17 lines
361 B
#!/bin/bash |
|
|
|
JULIA_VERSIONS="/opt/julia" |
|
|
|
julia_args() { |
|
# Create a bin directory |
|
mkdir -p bin |
|
# Create a wrapper script to call julia with the arguments |
|
{ |
|
echo "#!/bin/bash" |
|
echo "exec $(which julia) $* \"\$@\"" |
|
} > bin/julia |
|
# Make it executable |
|
chmod +x bin/julia |
|
# Make sure bin is in PATH |
|
PATH_add bin |
|
}
|
|
|