]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
install-deps: extract SUDO variable logic into a reusable function
authorJohn Mulligan <jmulligan@redhat.com>
Sat, 15 Mar 2025 16:44:00 +0000 (12:44 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Wed, 8 Oct 2025 23:18:08 +0000 (19:18 -0400)
commit9cf444cb4c8c8e1fa5d331d69df6f1b82c6a57e3
treee6a6553c2d3a1722b1fe30ad8df350a832674283
parent84d292fee191ed7071162f057e7209232c6534db
install-deps: extract SUDO variable logic into a reusable function

While the function is pretty simple and could be copy-pasted I
prefer to extract things into functions to indicate that the
logic is used/repeated elsewhere to ward off making changes to
one copy vs the other.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit bbd7933598e11d84758a6f09fd176f47c744aaa2)
install-deps.sh
src/script/lib-build.sh