Edgar wrote: > this should probably be > > LD_LIBRARY_PATH=/usr/lib/udig/jai/ext/:$LD_LIBRARY_PATH > > as you most likely want to keep the old values (notice the > dollar sign) but want to prefer the ones you put into path > (reversed order)
further, only set it that way if the path is non-zero length: if [ -n "$LD_LIBRARY_PATH" ] ; then LD_LIBRARY_PATH="/usr/lib/udig/jai/ext:$LD_LIBRARY_PATH" else LD_LIBRARY_PATH="/usr/lib/udig/jai/ext" fi otherwise if it is empty you get ":$LD_LIBRARY_PATH", and the bit before the : makes it include the `pwd` in the search path, a minor security risk. Hamish _______________________________________________ Live-demo mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/live-demo http://live.osgeo.org http://wiki.osgeo.org/wiki/Live_GIS_Disc
