Skip to content

Commit

Permalink
Update setup-cfengine-build-host.sh
Browse files Browse the repository at this point in the history
Fixed up a git error on suse-12 and suse-15 platforms.
  • Loading branch information
craigcomstock authored Jun 27, 2024
1 parent 976fb21 commit 31c88b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ci/setup-cfengine-build-host.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ trap cleanup SIGTERM
echo "Using buildscripts commit:"
# we have very old platforms with old git that doesn't understand -C option so cd/cd .. it is
cd buildscripts
# buildscripts is owned by jenkins so in order to run rev-parse command as root (this script is run with sudo) we must make it safe
git config --global --add safe.directory /home/jenkins/buildscripts
git rev-parse HEAD
cd ..

Expand Down

0 comments on commit 31c88b0

Please sign in to comment.