Skip to content

Commit 79c929a

Browse files
committed
ensure executing user owns Git repository for Debian build
1 parent bad79f7 commit 79c929a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.evergreen/debian_package_build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ sudo -E ./debootstrap.git/debootstrap unstable ./unstable-chroot/ http://cdn-aws
4444
cp -a mongoc ./unstable-chroot/tmp/
4545
sudo chroot ./unstable-chroot /bin/bash -c "(\
4646
apt-get install -y build-essential git-buildpackage fakeroot debhelper cmake libssl-dev pkg-config python3-sphinx zlib1g-dev libicu-dev libsasl2-dev libsnappy-dev libzstd-dev libmongocrypt-dev && \
47+
chown -R root:root /tmp/mongoc && \
4748
cd /tmp/mongoc && \
4849
git clean -fdx && \
4950
git reset --hard HEAD && \

0 commit comments

Comments
 (0)