[6505] in SIPB bug reports

home help back first fref pref prev next nref lref last post

gv and the gnu locker

daemon@ATHENA.MIT.EDU (Jacob Morzinski)
Mon Sep 29 02:46:27 1997

To: bug-sipb@MIT.EDU
Date: Mon, 29 Sep 1997 02:46:13 EDT
From: "Jacob Morzinski" <jmorzins@MIT.EDU>

A while ago, it was reported that 'gv' needed 'gs' from the gnu locker
in order to run.

The problem was fixed by putting a wrapper script around the gv
program which extended the path to include
  /mit/gnu/arch/$ATHENA_SYS/bin

I found tonight that the wrapper script doesn't work (on Solaris,
at least) because it doesn't 'export' the new path.

I edited /mit/sipb/share/gv/gv.sh to fix this.  (For those interested
in what I did, I've included a context diff below.)


-Jacob


=======================================================================
*** /mit/sipb/share/gv/gv.sh~   Fri Sep 26 16:10:11 1997
--- /mit/sipb/share/gv/gv.sh    Mon Sep 29 02:33:15 1997
***************
*** 1,4 ****
--- 1,5 ----
  #!/bin/sh
  /bin/athena/attach -q -n -h gnu
  PATH=${PATH}:/mit/gnu/arch/${ATHENA_SYS}/bin
+ export PATH
  exec /mit/sipb/arch/${ATHENA_SYS}/bin/gv.real "$@"



home help back first fref pref prev next nref lref last post