Shell Recorder: Prefer `kdb` command in build dir
Before this update Shell Recorder would prefer the installed version of
`kdb`, over the one in the build directory. As a consequence of this
some MSR tests would fail if the installed version of Elektra did not
include some of the latest code.
@@ -9,7 +9,7 @@ regex_escape () {
if [ -z "@USE_CMAKE_KDB_COMMAND@" ]; then
KDBCOMMAND="@KDB_COMMAND@"
- export PATH="$PATH:`dirname \"$KDBCOMMAND\"`"
+ export PATH="`dirname \"$KDBCOMMAND\"`:$PATH"
else
KDBCOMMAND="kdb"
fi
