Skip to content

Commit fb00f67

Browse files
author
volayaf
committed
fixed #5644
git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@195 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
1 parent 65357b2 commit fb00f67

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sextante/grass/GrassUtils.py

+2
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,8 @@ def executeGrass(commands, progress):
237237
GrassUtils.createGrassScript(commands)
238238
command = ["cmd.exe", "/C ", GrassUtils.grassScriptFilename()]
239239
else:
240+
gisrc = SextanteUtils.userFolder() + os.sep + "sextante.gisrc"
241+
os.putenv("GISRC", gisrc)
240242
os.putenv("GRASS_BATCH_JOB", GrassUtils.grassBatchJobFilename())
241243
GrassUtils.createGrassBatchJobFileFromGrassCommands(commands)
242244
os.chmod(GrassUtils.grassBatchJobFilename(), stat.S_IEXEC | stat.S_IREAD | stat.S_IWRITE)

0 commit comments

Comments
 (0)