[GRASS-SVN] r34117 - grass/trunk/lib/init

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Oct 30 18:22:09 EDT 2008


Author: glynn
Date: 2008-10-30 18:22:09 -0400 (Thu, 30 Oct 2008)
New Revision: 34117

Modified:
   grass/trunk/lib/init/functions.sh
Log:
Fix missing $ on GRASS_VERSION


Modified: grass/trunk/lib/init/functions.sh
===================================================================
--- grass/trunk/lib/init/functions.sh	2008-10-30 22:09:41 UTC (rev 34116)
+++ grass/trunk/lib/init/functions.sh	2008-10-30 22:22:09 UTC (rev 34117)
@@ -722,7 +722,7 @@
     bashrc="$HOME/.bashrc"
     rm -f "$bashrc"
     echo "test -r ~/.alias && . ~/.alias" >> "$bashrc"
-    echo "PS1='$GRASS GRASS_VERSION ($LOCATION_NAME):\w > '" >> "$bashrc"
+    echo "PS1='GRASS $GRASS_VERSION ($LOCATION_NAME):\w > '" >> "$bashrc"
     echo "PROMPT_COMMAND=$GISBASE/etc/prompt.sh" >> "$bashrc"
 
     if [ -r "$USERHOME/.grass.bashrc" ]



More information about the grass-commit mailing list