[GRASS-SVN] r57971 - grass/trunk/general/g.mapsets
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Oct 10 04:56:20 PDT 2013
Author: martinl
Date: 2013-10-10 04:56:20 -0700 (Thu, 10 Oct 2013)
New Revision: 57971
Modified:
grass/trunk/general/g.mapsets/main.c
Log:
g.mapsets: print message when mapset already in the path
Modified: grass/trunk/general/g.mapsets/main.c
===================================================================
--- grass/trunk/general/g.mapsets/main.c 2013-10-10 07:14:45 UTC (rev 57970)
+++ grass/trunk/general/g.mapsets/main.c 2013-10-10 11:56:20 UTC (rev 57971)
@@ -203,8 +203,10 @@
mapset = substitute_mapset(*ptr);
- if (G_is_mapset_in_search_path(mapset))
+ if (G_is_mapset_in_search_path(mapset)) {
+ G_message(_("Mapset <%s> already in the path"), mapset);
continue;
+ }
if (G__mapset_permissions(mapset) < 0)
G_fatal_error(_("Mapset <%s> not found"), mapset);
More information about the grass-commit
mailing list