view octave-sh @ 12583:bb29b58e650c release-3-4-x

abandon release-3-4-x branch in favor of workflow using stable and default branches and merging stable to default periodically
author John W. Eaton <jwe@octave.org>
date Fri, 08 Apr 2011 09:06:04 -0400
parents e7e72101b86c
children
line wrap: on
line source

#!/bin/sh
#
# Wrapper for octave for binary installations that can't install
# octave in /usr/local/bin.
#
# The real binary should be installed in as octave.bin, and this file
# should be installed in the same directory as octave.

if test -n "$LD_LIBRARY_PATH"; then
  LD_LIBRARY_PATH="@LD_LIBRARY_PATH@:$LD_LIBRARY_PATH"
else
  LD_LIBRARY_PATH="@LD_LIBRARY_PATH@"
fi
export LD_LIBRARY_PATH

OCTAVE_HOME=@OCTAVE_HOME@
export OCTAVE_HOME

exec $OCTAVE_HOME/bin/octave.bin $*