Skip to content
Permalink
Browse files

Made the grass binary filename to be built in runtime.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11119 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rugginoso
rugginoso committed Jul 20, 2009
1 parent 4723aeb commit 1684fcb389ab2e57151884cc34be4998576318ad
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/plugins/grass/qgsgrassshell.cpp
@@ -83,7 +83,9 @@ void QgsGrassShell::initTerminal( QTermWidget *terminal )
QStringList env("");
QStringList args("");

terminal->setShellProgram("/usr/bin/grass64");
QString shellProgram = QString("/usr/bin/grass%1%2").arg(QgsGrass::versionMajor()).arg(QgsGrass::versionMinor());

terminal->setShellProgram(shellProgram);
env << "TERM=vt100";
env << "GISRC_MODE_MEMORY";

0 comments on commit 1684fcb

Please sign in to comment.
You can’t perform that action at this time.