3 # https://sourceware.org/bugzilla/show_bug.cgi?id=26034
4 export "BUP_ARGV_0"="$0"
7 export "BUP_ARGV_${arg_i}"="$arg"
11 # Here to end of preamble replaced during install
12 bup_python="$(dirname "$0")/bup-python" || exit $?
13 exec "$bup_python" "$0"
17 from __future__ import absolute_import
20 from bup import compat, git, ls
21 from bup.io import byte_stream
24 git.check_repo_or_die()
27 out = byte_stream(sys.stdout)
28 # Check out lib/bup/ls.py for the opt spec
29 rc = ls.via_cmdline(compat.argv[1:], out=out)