diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 18:35:28 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 18:35:28 +0000 |
commit | ea314d2f45c40a006c0104157013ab4b857f665f (patch) | |
tree | 3ef2971cb3675c318b8d9effd987854ad3f6d3e8 /src/at/atlocal.in | |
parent | Initial commit. (diff) | |
download | dpkg-ea314d2f45c40a006c0104157013ab4b857f665f.tar.xz dpkg-ea314d2f45c40a006c0104157013ab4b857f665f.zip |
Adding upstream version 1.22.4.upstream/1.22.4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/at/atlocal.in')
-rw-r--r-- | src/at/atlocal.in | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/at/atlocal.in b/src/at/atlocal.in new file mode 100644 index 0000000..8b413ef --- /dev/null +++ b/src/at/atlocal.in @@ -0,0 +1,40 @@ +# Global shell definitions for the autotest test suite + +PATH="@abs_top_builddir@/src:$PATH" +export PATH + +GREP="@GREP@" +EGREP="@EGREP@" +TAR="@TAR@" +PERL="@PERL@" + +if ! command -v lzma >/dev/null && command -v xz >/dev/null; then + lzma() { + xz --format=lzma "$@" + } +fi + +# Setup a sane environment + +umask 0022 + +LC_ALL=C +export LC_ALL + +TZ=UTC0 +export TZ + +SOURCE_DATE_EPOCH=0 +export SOURCE_DATE_EPOCH + +prefix="@prefix@" +eval "export DEFAULT_ADMINDIR='@admindir@'" +export DPKG_DATADIR="@abs_top_srcdir@/src" + +# Cleanup variables that might affect the tests. +unset GZIP +unset BZIP +unset XZ_OPT +unset XZ_DEFAULTS + +unset DPKG_ROOT |