[GRASS-SVN] r41739 - grass/trunk/include/Make
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Apr 5 17:56:30 EDT 2010
Author: glynn
Date: 2010-04-05 17:56:29 -0400 (Mon, 05 Apr 2010)
New Revision: 41739
Modified:
grass/trunk/include/Make/Install.make
Log:
Fix GISBASE when installing start-up script
Modified: grass/trunk/include/Make/Install.make
===================================================================
--- grass/trunk/include/Make/Install.make 2010-04-05 18:59:28 UTC (rev 41738)
+++ grass/trunk/include/Make/Install.make 2010-04-05 21:56:29 UTC (rev 41739)
@@ -81,10 +81,10 @@
real-install:
test -d $(INST_DIR) || $(MAKE_DIR_CMD) $(INST_DIR)
test -d $(UNIX_BIN) || $(MAKE_DIR_CMD) $(UNIX_BIN)
- -$(INSTALL) $(ARCH_BINDIR)/$(GRASS_NAME) $(UNIX_BIN)/$(GRASS_NAME)
+ -sed 's#'$(RUN_GISBASE)'#'$(INST_DIR)'#g' $(ARCH_BINDIR)/$(GRASS_NAME) > $(UNIX_BIN)/$(GRASS_NAME)
-chmod a+x $(UNIX_BIN)/$(GRASS_NAME)
ifneq ($(strip $(MINGW)),)
- -$(INSTALL) $(ARCH_BINDIR)/$(GRASS_NAME).py $(UNIX_BIN)/$(GRASS_NAME).py
+ -sed 's#'$(RUN_GISBASE)'#'$(INST_DIR)'#g' $(ARCH_BINDIR)/$(GRASS_NAME).py > $(UNIX_BIN)/$(GRASS_NAME).py
-chmod a+x $(UNIX_BIN)/$(GRASS_NAME).py
endif
-tar cBCf $(GISBASE) - . | tar xBCf $(INST_DIR) - 2>/dev/null
More information about the grass-commit
mailing list