]> arthur.barton.de Git - bup.git/blobdiff - cmd/ls-cmd.py
Add initial test-list-idx.sh
[bup.git] / cmd / ls-cmd.py
index 581d6e116891387659dec7ee1d04fd6098bd37d0..031fbaefd7aba78339df53162d66b1773c8ce11d 100755 (executable)
@@ -1,4 +1,9 @@
-#!/usr/bin/env python
+#!/bin/sh
+"""": # -*-python-*-
+bup_python="$(dirname "$0")/bup-python" || exit $?
+exec "$bup_python" "$0" ${1+"$@"}
+"""
+# end of bup preamble
 import sys
 from bup import git, vfs, ls
 from bup.helpers import *
@@ -9,5 +14,4 @@ top = vfs.RefList(None)
 
 # Check out lib/bup/ls.py for the opt spec
 ret = ls.do_ls(sys.argv[1:], top, default='/', spec_prefix='bup ')
-
 sys.exit(ret)