Unverified Commit dabd0130 by Edward Thomson Committed by GitHub

Merge pull request #5409 from libgit2/pks/coverity-fix-sudo

azure: docker: set up HOME variable to fix Coverity builds
parents 4f1923e8 6efe3d35
#!/bin/bash -e #!/bin/bash -e
useradd --shell /bin/bash libgit2 useradd --shell /bin/bash libgit2
chown --recursive libgit2:libgit2 /home/libgit2 chown --recursive libgit2:libgit2 /home/libgit2
exec sudo --preserve-env --user=libgit2 "$@" exec sudo --preserve-env --set-home --user=libgit2 "$@"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment