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@11119 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rugginoso
rugginoso committed Jul 20, 2009
1 parent 5971c6e commit e243ad515f6dbc5eafb269a83a687fc7d35a64cb
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 e243ad5

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