]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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>
Sat, 15 Mar 2025 16:48:25 +0000 (12:48 -0400)
commitbbd7933598e11d84758a6f09fd176f47c744aaa2
treea2fd47d69b46f716ae91aa27c1b16959b1c117bc
parentc51c6cdcb63fd327472cbc0c07633d64a083945f
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>
install-deps.sh
src/script/lib-build.sh