Skip to content

Commit 3800017

Browse files
committed
Fix broken driver branch builds
1 parent 21ca6b5 commit 3800017

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.evergreen/install-dependencies.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ install_extension ()
1313
echo "Compiling driver branch ${CHECKOUT_BRANCH} from repository ${CLONE_REPO}"
1414

1515
mkdir -p /tmp/compile
16+
rm -rf /tmp/compile/mongo-php-driver
1617
git clone ${CLONE_REPO} /tmp/compile/mongo-php-driver
1718
cd /tmp/compile/mongo-php-driver
1819

@@ -22,6 +23,8 @@ install_extension ()
2223
./configure --enable-mongodb-developer-flags
2324
make all -j20 > /dev/null
2425
make install
26+
27+
cd ${PROJECT_DIRECTORY}
2528
elif [ "x${DRIVER_VERSION}" != "x" ]; then
2629
echo "Installing driver version ${DRIVER_VERSION} from PECL"
2730
pecl install -f mongodb-${DRIVER_VERSION}

0 commit comments

Comments
 (0)