aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2022-06-19 08:00:00 +0000
committerDmitry V. Levin <ldv@altlinux.org>2022-06-19 08:00:00 +0000
commit0391854f291558bc0753936707b172ccdd468e4f (patch)
treeb19e8ca63a2785de251d00e76c92e38ede6065cd /ci
parentbee5908d2e74947526309bc6cb21936f1155d7f3 (diff)
downloadpam-0391854f291558bc0753936707b172ccdd468e4f.tar.gz
pam-0391854f291558bc0753936707b172ccdd468e4f.tar.bz2
pam-0391854f291558bc0753936707b172ccdd468e4f.zip
ci: add vendor directory configuration support
* ci/run-build-and-tests.sh: Configure using --enable-vendordir option when VENDORDIR environment variable is set.
Diffstat (limited to 'ci')
-rwxr-xr-xci/run-build-and-tests.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/ci/run-build-and-tests.sh b/ci/run-build-and-tests.sh
index b5398f04..ca61bb1f 100755
--- a/ci/run-build-and-tests.sh
+++ b/ci/run-build-and-tests.sh
@@ -32,6 +32,12 @@ case "${CHECK-}" in
;;
esac
+case "${VENDORDIR-}" in
+ /*)
+ DISTCHECK_CONFIGURE_FLAGS="$DISTCHECK_CONFIGURE_FLAGS --enable-vendordir=$VENDORDIR"
+ ;;
+esac
+
echo 'BEGIN OF BUILD ENVIRONMENT INFORMATION'
uname -a |head -1
libc="$(ldd /bin/sh |sed -n 's|^[^/]*\(/[^ ]*/libc\.so[^ ]*\).*|\1|p' |head -1)"