view octave-wrapper.in @ 3629:5aba05f2226e

update xine-lib, add mman-win32 * dist-files.mk: add mman-win32-1-include_name_change.patch, mman-win32.mk, add xine-lib-*.patch files. * index.html: add mman-win32 * src/mman-win32-1-include_name_change.patch: new file. * src/mman-win32.mk: new file. * src/xine-lib-1-configure_ac.patch: new file * src/xine-lib-1-fixes.patch: removed * src/xine-lib-2-build_fixes.patch: new file. * src/xine-lib-3-more_build_fixes.patch: new file * src/xine-lib-4-mkdir.patch: new file. * src/xine-lib-5-change_mma_h_to_mma_win32_h.patch: new file * src/xine-lib.mk: update version
author John Donoghue <john.donoghue@ieee.org>
date Sun, 29 Jun 2014 15:46:35 -0400
parents cf594095a7dc
children 3feb4f13794f
line wrap: on
line source

#! /bin/sh

OCTAVE_HOME=""

if [ -z "$OCTAVE_HOME" ]; then
  echo "you must edit $0 to set OCTAVE_HOME" 1>&2
  exit 1;
fi

PATH="$OCTAVE_HOME/bin/:$PATH"

LD_LIBRARY_PATH="$OCTAVE_HOME/lib:$OCTAVE_HOME/lib64:$OCTAVE_HOME/lib/octave/@OCTAVE_VERSION@"

TERMINFO="$OCTAVE_HOME/share/terminfo"

TERM="vt100"

FONTCONFIG_PATH="$OCTAVE_HOME/etc/fonts"

GNUPLOT_DRIVER_DIR="$OCTAVE_HOME/libexec/gnuplot/@GNUPLOT_MAJOR_MINOR_VERSION@"

export OCTAVE_HOME
export PATH
export LD_LIBRARY_PATH
export TERMINFO
export TERM
export FONTCONFIG_PATH
export GNUPLOT_DRIVER_DIR

exec "$OCTAVE_HOME/bin/@PROGRAM_NAME@-@OCTAVE_VERSION@.real" "$@"