[GRASS-SVN] r30079 - grass/trunk/lib/init
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Feb 11 06:41:05 EST 2008
Author: martinl
Date: 2008-02-11 06:41:05 -0500 (Mon, 11 Feb 2008)
New Revision: 30079
Modified:
grass/trunk/lib/init/init.sh
Log:
wxgrass renamed to wxgui. Check for invalid UI option.
Modified: grass/trunk/lib/init/init.sh
===================================================================
--- grass/trunk/lib/init/init.sh 2008-02-11 11:35:34 UTC (rev 30078)
+++ grass/trunk/lib/init/init.sh 2008-02-11 11:41:05 UTC (rev 30079)
@@ -130,9 +130,9 @@
shift
;;
*)
- GRASS_GUI="text"
- shift
- ;;
+ echo "ERROR: Invalid user interface specified."
+ echo "Use the -help option to select a valid interface."
+ exit 1
esac
done
@@ -777,7 +777,7 @@
fi
;;
wxpython)
- "$GISBASE/scripts/wxgrass" &
+ "$GISBASE/scripts/wxgui" &
;;
# Ignore others
@@ -824,7 +824,7 @@
echo "If required, restart the graphical user interface with: d.m"
;;
wxpython)
- echo "If required, restart the graphical user interface with: wxgrass"
+ echo "If required, restart the graphical user interface with: wxgui"
;;
*)
echo "Start the graphical user interface with: gis.m"
More information about the grass-commit
mailing list