X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=cmd%2Fhelp-cmd.py;h=4ad5f74d102bfed40764926810fab09d4ec1e32b;hb=57aaebfd07e7f35aed2ebd44191669b1d9db49df;hp=384d0cfa9f2ae4bbafca345cadf6b9cffa0a552d;hpb=c40b3dd5fd74e72024fbaad3daf5a958aefa1c54;p=bup.git diff --git a/cmd/help-cmd.py b/cmd/help-cmd.py index 384d0cf..4ad5f74 100755 --- a/cmd/help-cmd.py +++ b/cmd/help-cmd.py @@ -17,7 +17,7 @@ o = options.Options(optspec) if len(extra) == 0: # the wrapper program provides the default usage string - os.execvp(os.environ['BUP_MAIN_EXE'], ['bup']) + os.execvp(path.exe(), ['bup']) elif len(extra) == 1: docname = (extra[0]=='bup' and 'bup' or ('bup-%s' % extra[0])) manpath = os.path.join(path.exedir(),