]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
src/script: add helper function has_build_dir
authorJohn Mulligan <jmulligan@redhat.com>
Mon, 14 Nov 2022 15:57:25 +0000 (10:57 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Wed, 5 Feb 2025 20:13:06 +0000 (15:13 -0500)
commit3046f78d69ea1b6937ce84e53f72934201a105db
tree9936acc0fca224c44828a5a9f9bca40877b22381
parent7fcd9cbac04f022c8a95dfed302e308881bc1da4
src/script: add helper function has_build_dir

This function returns successfully if $BUILD_DIR exists and is valid.
This is a useful building block for automation around the build and
can be used to avoid re-running commands that fail is the build dir
exists already.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/script/lib-build.sh