X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=bup.git;a=blobdiff_plain;f=cmd%2Flist-idx-cmd.py;h=9eb92c177971e474a9fc0307a845a5b8d2b080f6;hp=a3e3dc96e7f4c695c729699adfb041971508e609;hb=7e0fcaa5b28eb1aa022a59e5056679e7854070b9;hpb=e2073c04660032cf32e3092cfa013c987c589c14 diff --git a/cmd/list-idx-cmd.py b/cmd/list-idx-cmd.py index a3e3dc9..9eb92c1 100755 --- a/cmd/list-idx-cmd.py +++ b/cmd/list-idx-cmd.py @@ -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, os from bup import git, options from bup.helpers import *