Shell Recorder: Use proper version of `kdb`
The Shell Recorder now uses `kdb-full` or `kdb-static` to run commands,
if `kdb` is not available.
@@ -34,7 +34,8 @@ execute()
fi
[ -z "$Storage" ] && Storage="dump"
- command=$(printf '%s' "$proto" | sed -e "s~\$Mountpoint~${Mountpoint}~g" \
+ command=$(printf '%s' "$proto" | sed -e "s~kdb\ ~$KDB_BINARY ~g" \
+ -e "s~\$Mountpoint~${Mountpoint}~g" \
-e "s~\$File~${DBFile}~g" \
-e "s~\$Storage~${Storage}~g" \
-e "s~\$MountArgs~${MountArgs}~g")
@@ -263,6 +264,7 @@ STDERRCMP=
BACKUP=0
TMPFILE=$(mktempfile_elektra)
+KDB_BINARY=$(basename "$KDB")
# variables to count up errors and tests
nbError=0
