]> arthur.barton.de Git - bup.git/blobdiff - t/test-save-errors
test-save-errors: fix shebang for freebsd
[bup.git] / t / test-save-errors
index cafd227a0198da97ad301cc724e1f61d68e81fef..cafc306104a1a077a548e64f60d76858c9ca48e4 100755 (executable)
@@ -33,7 +33,7 @@ WVPASS bup index "$tmpdir/save"
 # essentially, we create a bup-save command for ourselves
 # that gets an error for the .../5 file in metadata.from_path()
 cat > "$tmpdir/bup-save" << EOF
-#!$top/cmd/bup-python
+#!/usr/bin/env $top/cmd/bup-python
 from bup import metadata
 orig_from_path = metadata.from_path
 def from_path(path, *args, **kw):
@@ -69,7 +69,7 @@ WVPASS bup index --clear
 WVPASS bup index "$tmpdir/save"
 
 cat > "$tmpdir/bup-save" << EOF
-#!$top/cmd/bup-python
+#!/usr/bin/env $top/cmd/bup-python
 from bup import metadata
 orig_from_path = metadata.from_path
 def from_path(path, *args, **kw):
@@ -101,7 +101,7 @@ WVPASS bup index --clear
 WVPASS bup index "$tmpdir/save"
 
 cat > "$tmpdir/bup-save" << EOF
-#!$top/cmd/bup-python
+#!/usr/bin/env $top/cmd/bup-python
 from bup import index
 
 Reader = index.Reader