Skip to content

Commit

Permalink
ensure executing user owns Git repository for Debian build
Browse files Browse the repository at this point in the history
  • Loading branch information
rcsanchez97 committed Apr 19, 2022
1 parent f6a4371 commit ed98f64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .evergreen/debian_package_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ sudo DEB_BUILD_PROFILES="${DEB_BUILD_PROFILES}" chroot ./unstable-chroot /bin/ba
curl -o deb.tar.gz -L https://s3.amazonaws.com/mciuploads/mongo-c-driver/master/mongo-c-driver-debian-packages-latest.tar.gz && \
tar zxvf deb.tar.gz && \
apt-get install -y ./*.deb && \
chown -R root:root /tmp/mongo-cxx-driver && \
cd /tmp/mongo-cxx-driver && \
git clean -fdx && \
git reset --hard HEAD && \
Expand Down

0 comments on commit ed98f64

Please sign in to comment.