youbot/youbot-ros-pkg — pull request #14 by frederikhegger (2012-11-28 07:17:21+00:00)
Title: use environment variable to choose sudo mode

use environment variable to choose if the terminal sudo command or the gksudo command should be used.

We faced a problem when using our jenkins contineous integration server to compile this repository because it is using gksudo.

So we added a env variable to the CMake to choose the mode and it can be now set by any script (e.g. a jenkins script).

By default it is still using gksudo