]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
install-deps.sh: move functions above all "main" script body
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 29 Sep 2022 14:34:12 +0000 (10:34 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 18 Feb 2025 22:58:08 +0000 (17:58 -0500)
commit8da888c2872dfbd2d1927df0f910503cb5cc4a50
tree11065f95cbbb4387bf5dcce1af3f06d3def2e36a
parent3425674847f7e8500a5dadf6e2e55c9c1866197a
install-deps.sh: move functions above all "main" script body

Previously, the main part (top level body) of the script started and
then some function definitions occurred and then the main part of the
script resumed after that. I, and others, find this confusing so this
change moves the function definitions to occur before the main body of
the install-deps.sh script.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit b315700bbfd64a22b62e27631e055d1d2392e447)
install-deps.sh