]> arthur.barton.de Git - bup.git/commit
bup: use correct bup executable in on--server
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 1 Jan 2020 17:50:07 +0000 (18:50 +0100)
committerRob Browning <rlb@defaultvalue.org>
Fri, 17 Jan 2020 18:18:03 +0000 (12:18 -0600)
commitca343d8e00d453daf2c94552a7524a9d375f34e9
tree0ed0622ce1f3c8fb9221b93ea0597f693fe4ed4a
parent2bb483c2e54947738f05218c7d8141f00e7d8844
bup: use correct bup executable in on--server

Currently, on--server loses the correct bup command in one situation:
if you run 'bup on remote' with a remote forced ssh command that's
different from the installed bup, on--server will still execute the
installed version of bup for all sub-commands.

Fix that by using bup.path.exe() in on--server for bup execution.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
cmd/on--server-cmd.py