]> git.donarmstrong.com Git - debhelper.git/blob - run
r1763: releasing version 4.9.0
[debhelper.git] / run
1 #!/bin/sh
2 # Run a debhelper command using files from this directory.
3
4 # Run items from current directory by preference.
5 PATH=.:$PATH
6
7 # Ensure that builds are self-hosting, which means I have to use the .pm
8 # files in this package, not any that may be on the system.
9 export PERL5LIB=$(pwd)
10
11 # If any automatic script generation is done in building this package, 
12 # be sure to use the new templates from this package.
13 export DH_AUTOSCRIPTDIR=$(pwd)/autoscripts
14
15 prog=$1
16 shift 1
17
18 exec $prog "$@"