Skip to content

Commit 959d9a9

Browse files
committed
Add debugging information to vendor_verify.sh
1 parent 4783764 commit 959d9a9

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

scripts/vendor_verify.sh

+6-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ set -e
55
# Install vendored packages into /tmp and then compare with what's in
66
# bleach/_vendor/.
77

8-
DEST=/tmp/vendor-test
8+
export DEST=/tmp/vendor-test
9+
export BLEACH_VENDOR_DIR=bleach/_vendor
910

1011
if [[ -e "${DEST}" ]]; then
1112
echo "${DEST} exists. Please remove."
@@ -14,14 +15,16 @@ fi
1415

1516
mkdir "${DEST}"
1617

17-
# Get versions of pip and python
18+
# Get diagnostic information
1819
pip --version
20+
echo "DEST: ${DEST}"
21+
echo "BLEACH_VENDOR_DIR: ${BLEACH_VENDOR_DIR}"
1922

2023
# Copy patch files to dest directory
2124
cp bleach/_vendor/*.patch "${DEST}"
2225

2326
# Install vendored dependencies into temp directory
24-
BLEACH_VENDOR_DIR=bleach/_vendor DEST="${DEST}" bleach/_vendor/vendor_install.sh
27+
bleach/_vendor/vendor_install.sh
2528

2629
# Diff contents of temp directory and bleach/_vendor/ excluding vendoring
2730
# infrastructure

0 commit comments

Comments
 (0)