summaryrefslogtreecommitdiffstats
path: root/run
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xrun16
1 files changed, 16 insertions, 0 deletions
diff --git a/run b/run
new file mode 100755
index 0000000..f5c89f5
--- /dev/null
+++ b/run
@@ -0,0 +1,16 @@
+#!/bin/sh
+# Run a debhelper command using files from this directory.
+
+# Run items from current directory by preference.
+PATH=.:$PATH
+export PATH
+
+# Ensure that builds are self-hosting, which means I have to use the .pm
+# files in this package, not any that may be on the system.
+export PERL5LIB=$(pwd)/lib
+
+# If any automatic script generation is done in building this package,
+# be sure to use the new templates from this package.
+export DH_DATAFILES=$(pwd)
+
+exec "$@"