]> arthur.barton.de Git - bup.git/commit
client: enhance the PATH when searching for the 'bup' binary.
authorAvery Pennarun <apenwarr@gmail.com>
Wed, 6 Jan 2010 18:03:23 +0000 (13:03 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Wed, 6 Jan 2010 18:06:50 +0000 (13:06 -0500)
commitb21314b13dbe620632abf8eaf1a3d5c274910fe4
treeb6e88b678b907ccd0b216d8a60df9431caad937a
parent3f901e2ff29723efa0e096cd2e010e5b956e6691
client: enhance the PATH when searching for the 'bup' binary.

Automatically adds the *local* $PWD to the *remote* $PATH before trying to
run 'bup server'.  That way, if you build the source in exactly the same
folder on two machines - or if those two machines are actually the same
machine and you're just doing a test against localhost - it'll work.

I hereby curse both "sh -c <command>" and "ssh hostname -- <command>" for
not allowing a sensible way to just set argv[] without doing any stupid
quoting.  Nasty.
client.py