X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fdrecurse-cmd.py;fp=cmd%2Fdrecurse-cmd.py;h=611bfdbb3e89bdc3d93d9900fc3b38fc5cb6343d;hb=7e0fcaa5b28eb1aa022a59e5056679e7854070b9;hp=cdf66803034bd0f429a869ea75b94ba06f29e25a;hpb=e2073c04660032cf32e3092cfa013c987c589c14;p=bup.git diff --git a/cmd/drecurse-cmd.py b/cmd/drecurse-cmd.py index cdf6680..611bfdb 100755 --- a/cmd/drecurse-cmd.py +++ b/cmd/drecurse-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 from os.path import relpath from bup import options, drecurse