[GRASS-SVN] r32190 - grass/branches/develbranch_6/lib/init

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jul 21 05:25:37 EDT 2008


Author: martinl
Date: 2008-07-21 05:25:37 -0400 (Mon, 21 Jul 2008)
New Revision: 32190

Modified:
   grass/branches/develbranch_6/lib/init/init.sh
Log:
Don't source /etc/profile from session shell
(merged from trunk, r32189]


Modified: grass/branches/develbranch_6/lib/init/init.sh
===================================================================
--- grass/branches/develbranch_6/lib/init/init.sh	2008-07-21 09:16:39 UTC (rev 32189)
+++ grass/branches/develbranch_6/lib/init/init.sh	2008-07-21 09:25:37 UTC (rev 32190)
@@ -938,10 +938,6 @@
     export HOME
     bashrc="$HOME/.bashrc"
     rm -f "$bashrc"
-    if [ "$sh" != "cygwin" ] ; then
-	# this does not work on cygwin for unknown reasons
-	echo "test -z $PROFILEREAD && . /etc/profile" > "$bashrc"
-    fi
     echo "test -r ~/.alias && . ~/.alias" >> "$bashrc"
     echo "PS1='GRASS GRASS_VERSION_NUMBER ($LOCATION_NAME):\w > '" >> "$bashrc"
     echo "PROMPT_COMMAND=$GISBASE/etc/prompt.sh" >> "$bashrc"



More information about the grass-commit mailing list