[GRASS-git] [OSGeo/grass] 841e0b: general/g.mapsets: fix write MAPSETS without addit...
Tomas Zigo
noreply at github.com
Wed Sep 21 11:58:56 PDT 2022
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: 841e0b39811083e1b86b93b5500864d3f1558a1a
https://github.com/OSGeo/grass/commit/841e0b39811083e1b86b93b5500864d3f1558a1a
Author: Tomas Zigo <50632337+tmszi at users.noreply.github.com>
Date: 2022-09-21 (Wed, 21 Sep 2022)
Changed paths:
M general/g.mapsets/main.c
Log Message:
-----------
general/g.mapsets: fix write MAPSETS without additional empty new line (#2586)
Current behavior:
```
GRASS nc_spm_08_grass7/landsat:~ > g.mapsets operation=set mapset=landsat
GRASS nc_spm_08_grass7/landsat:~ > cat -e "$(g.gisenv get="GISDBASE")/\
$(g.gisenv get="LOCATION_NAME")/$(g.gisenv get="MAPSET")/SEARCH_PATH"
landsat$
$
```
Expected behavior:
```
GRASS nc_spm_08_grass7/landsat:~ > g.mapsets operation=set mapset=landsat
GRASS nc_spm_08_grass7/landsat:~ > cat -e "$(g.gisenv get="GISDBASE")/\
$(g.gisenv get="LOCATION_NAME")/$(g.gisenv get="MAPSET")/SEARCH_PATH"
landsat$
```
More information about the grass-commit
mailing list