Skip to content

Commit

Permalink
install-deps.sh: source lib-build.sh
Browse files Browse the repository at this point in the history
Currently, only in_jenkins is used. More will come later.

Signed-off-by: John Mulligan <[email protected]>
  • Loading branch information
phlogistonjohn committed Feb 7, 2023
1 parent 29d9a82 commit 9b7db75
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions install-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@
# version 2.1 of the License, or (at your option) any later version.
#
set -e

if ! [ "${_SOURCED_LIB_BUILD}" = 1 ]; then
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
CEPH_ROOT="${SCRIPT_DIR}"
. "${CEPH_ROOT}/src/script/lib-build.sh" || exit 2
fi


DIR=/tmp/install-deps.$$
trap "rm -fr $DIR" EXIT
mkdir -p $DIR
Expand All @@ -24,9 +32,6 @@ export LC_ALL=C.UTF-8

ARCH=$(uname -m)

function in_jenkins() {
test -n "$JENKINS_HOME"
}

function munge_ceph_spec_in {
local with_seastar=$1
Expand Down

0 comments on commit 9b7db75

Please sign in to comment.