From 959d9a9008a8a7929b2c081fe5e00a77ee5361b8 Mon Sep 17 00:00:00 2001 From: Will Kahn-Greene Date: Mon, 28 Oct 2024 14:20:44 -0400 Subject: [PATCH] Add debugging information to vendor_verify.sh --- scripts/vendor_verify.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/scripts/vendor_verify.sh b/scripts/vendor_verify.sh index 96764051..679bae48 100755 --- a/scripts/vendor_verify.sh +++ b/scripts/vendor_verify.sh @@ -5,7 +5,8 @@ set -e # Install vendored packages into /tmp and then compare with what's in # bleach/_vendor/. -DEST=/tmp/vendor-test +export DEST=/tmp/vendor-test +export BLEACH_VENDOR_DIR=bleach/_vendor if [[ -e "${DEST}" ]]; then echo "${DEST} exists. Please remove." @@ -14,14 +15,16 @@ fi mkdir "${DEST}" -# Get versions of pip and python +# Get diagnostic information pip --version +echo "DEST: ${DEST}" +echo "BLEACH_VENDOR_DIR: ${BLEACH_VENDOR_DIR}" # Copy patch files to dest directory cp bleach/_vendor/*.patch "${DEST}" # Install vendored dependencies into temp directory -BLEACH_VENDOR_DIR=bleach/_vendor DEST="${DEST}" bleach/_vendor/vendor_install.sh +bleach/_vendor/vendor_install.sh # Diff contents of temp directory and bleach/_vendor/ excluding vendoring # infrastructure