[GRASS-SVN] r32189 - grass/trunk/lib/init
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jul 21 05:16:39 EDT 2008
Author: glynn
Date: 2008-07-21 05:16:39 -0400 (Mon, 21 Jul 2008)
New Revision: 32189
Modified:
grass/trunk/lib/init/init.sh
Log:
Don't source /etc/profile from session shell
Modified: grass/trunk/lib/init/init.sh
===================================================================
--- grass/trunk/lib/init/init.sh 2008-07-21 08:31:25 UTC (rev 32188)
+++ grass/trunk/lib/init/init.sh 2008-07-21 09:16:39 UTC (rev 32189)
@@ -945,10 +945,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