view octave-sh @ 12677:bedd0cdb3584 stable

Fix integer overflow when using text() with large x,y values (bug #33059) * __go_draw_axes__.m: Use "%e" printf format to guarantee exponential printout of numbers and allow large values to pass to gnuplot.
author David Finkel david.finkel@gmail.com
date Sun, 15 May 2011 15:27:22 -0700
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 $*