]> git.donarmstrong.com Git - debhelper.git/blob - run
Typo. Closes: #653339
[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 export PATH
7
8 # Ensure that builds are self-hosting, which means I have to use the .pm
9 # files in this package, not any that may be on the system.
10 export PERL5LIB=$(pwd)
11
12 # If any automatic script generation is done in building this package, 
13 # be sure to use the new templates from this package.
14 export DH_AUTOSCRIPTDIR=$(pwd)/autoscripts
15
16 prog=$1
17 shift 1
18
19 exec $prog "$@"