]> arthur.barton.de Git - bup.git/blobdiff - wvtest.py
Configure python, use it, and embed during install
[bup.git] / wvtest.py
index cc68601ccd6b5c95ab24546887ebf2f0f31f1258..bdd1d79319290a333e8d1db328fa74cec21e1cdd 100755 (executable)
--- a/wvtest.py
+++ b/wvtest.py
@@ -1,4 +1,9 @@
-#!/usr/bin/env python
+#!/bin/sh
+"""": # -*-python-*-
+export PATH="$(dirname "$0")/cmd:$PATH"
+exec "$bup_python" "$0" ${1+"$@"}
+"""
+# end of bup preamble
 #
 # WvTest:
 #   Copyright (C)2007-2012 Versabanq Innovations Inc. and contributors.