2623
|
1 #!/bin/sh |
|
2 # |
|
3 # Wrapper for octave for binary installations that can't install |
|
4 # octave in /usr/local/bin. |
|
5 # |
|
6 # The real binary should be installed in as octave.bin, and this file |
|
7 # should be installed in the same directory as octave. |
|
8 |
|
9 if test -n "$LD_LIBRARY_PATH"; then |
|
10 LD_LIBRARY_PATH="@LD_LIBRARY_PATH@:$LD_LIBRARY_PATH" |
|
11 else |
|
12 LD_LIBRARY_PATH="@LD_LIBRARY_PATH@" |
|
13 fi |
|
14 export LD_LIBRARY_PATH |
|
15 |
|
16 OCTAVE_HOME=@OCTAVE_HOME@ |
|
17 export OCTAVE_HOME |
|
18 |
|
19 exec $OCTAVE_HOME/bin/octave.bin $* |