X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=bup.git;a=blobdiff_plain;f=cmd%2Ffuse-cmd.py;h=3708692975dc9be8dc55675d28268180b98b67ae;hp=30776cb36b0013adf0bf49de831b5768baa349f6;hb=7e0fcaa5b28eb1aa022a59e5056679e7854070b9;hpb=e2073c04660032cf32e3092cfa013c987c589c14 diff --git a/cmd/fuse-cmd.py b/cmd/fuse-cmd.py index 30776cb..3708692 100755 --- a/cmd/fuse-cmd.py +++ b/cmd/fuse-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, errno from bup import options, git, vfs, xstat from bup.helpers import *