3 top_srcdir="`dirname "$0"`"
5 # To avoid using «readlink -f» or «realpath» we just change into the
6 # desired directory and work from there.
11 # Set up the environment, to use local perl modules and data files.
12 export PERL="${PERL:-perl}"
13 export PERL5LIB="$cwd/scripts:$cwd/dselect/methods"
14 export DPKG_DATADIR="$cwd/data"
19 exec $PERL $PERL_PROFILE "$cwd/$script" "$@"