[GRASS-dev] grass start patch

Markus Neteler neteler at itc.it
Mon Jan 22 11:02:55 EST 2007


Hi,

I wonder if attached patch should be applied (quoting
of GISBASE path for white space).

Markus
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /grassrepository/grass6/lib/init/Makefile,v
retrieving revision 1.41
diff -u -r1.41 Makefile
--- Makefile	9 Jan 2007 07:09:16 -0000	1.41
+++ Makefile	22 Jan 2007 16:01:44 -0000
@@ -62,7 +62,7 @@
 	$(INSTALL) -m 644 helptext.html $(GISBASE)/docs/html/helptext.html
 
 
-$(ARCH_BINDIR)/$(START_UP): init.sh 
+$(ARCH_BINDIR)/$(START_UP): init.sh grass.src
 	@test -d $(ARCH_BINDIR) || (echo 'ARCH_DISTDIR($(ARCH_BINDIR))' not found; exit 1)
 	@test -w $(ARCH_BINDIR) || (echo '($(ARCH_BINDIR))' not writeable; exit 1)
 	rm -f $(ARCH_BINDIR)/$(START_UP) ; true
Index: grass.src
===================================================================
RCS file: /grassrepository/grass6/lib/init/grass.src,v
retrieving revision 1.6
diff -u -r1.6 grass.src
--- grass.src	3 Feb 2005 22:42:23 -0000	1.6
+++ grass.src	22 Jan 2007 16:01:44 -0000
@@ -21,7 +21,7 @@
 trap "echo 'User break!' ; exit" 2 3 9 15
 
 # Set the GISBASE variable
-GISBASE=GISBASE_VALUE
+GISBASE="GISBASE_VALUE"
 export GISBASE
 
 exec "$GISBASE/etc/Init.sh" "$@"


More information about the grass-dev mailing list