changeset 3864:3feb4f13794f

octave-wrapper.in: also set and export GNUPLOT_SHARE_DIR
author John W. Eaton <jwe@octave.org>
date Tue, 24 Mar 2015 16:54:54 -0400
parents 3909c600a7db
children 4e204ea06bc8
files octave-wrapper.in
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/octave-wrapper.in	Tue Mar 24 16:54:07 2015 -0400
+++ b/octave-wrapper.in	Tue Mar 24 16:54:54 2015 -0400
@@ -18,6 +18,7 @@
 FONTCONFIG_PATH="$OCTAVE_HOME/etc/fonts"
 
 GNUPLOT_DRIVER_DIR="$OCTAVE_HOME/libexec/gnuplot/@GNUPLOT_MAJOR_MINOR_VERSION@"
+GNUPLOT_SHARE_DIR="$OCTAVE_HOME/share/gnuplot/@GNUPLOT_MAJOR_MINOR_VERSION@"
 
 export OCTAVE_HOME
 export PATH
@@ -26,5 +27,6 @@
 export TERM
 export FONTCONFIG_PATH
 export GNUPLOT_DRIVER_DIR
+export GNUPLOT_SHARE_DIR
 
 exec "$OCTAVE_HOME/bin/@PROGRAM_NAME@-@OCTAVE_VERSION@.real" "$@"