[GRASS-SVN] r42927 - grass/branches/develbranch_6/scripts/r.in.wms

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jul 28 18:26:19 EDT 2010


Author: hamish
Date: 2010-07-28 22:26:19 +0000 (Wed, 28 Jul 2010)
New Revision: 42927

Modified:
   grass/branches/develbranch_6/scripts/r.in.wms/r.in.wms
Log:
rm unneeded PATH stuff

Modified: grass/branches/develbranch_6/scripts/r.in.wms/r.in.wms
===================================================================
--- grass/branches/develbranch_6/scripts/r.in.wms/r.in.wms	2010-07-28 21:43:58 UTC (rev 42926)
+++ grass/branches/develbranch_6/scripts/r.in.wms/r.in.wms	2010-07-28 22:26:19 UTC (rev 42927)
@@ -256,10 +256,6 @@
 # Remember the intial field seperator
 defaultIFS="$IFS"
 
-# Remember the previous path
-prevPATH="$PATH"
-PATH="$PATH:${GISBASE}/etc/r.in.wms/"
-export PATH
 
 #####################
 # name:     message
@@ -280,9 +276,6 @@
 exitprocedure()
 {
 	g.message -e 'User break!'
-	# is this bogus? won't PATH revert on exit anyway?
-	PATH="$prevPATH"
-	export PATH
 	\rm -f "${TEMPFILE}"*
 	exit 1
 }



More information about the grass-commit mailing list