summaryrefslogtreecommitdiffstats
path: root/configure
blob: 574a1ef2284dd55dc474313c6624fd8da9448a12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash -e
# Copyright (c) 2021, Dell Inc. or its subsidiaries.  All rights reserved.
# SPDX-License-Identifier: Apache-2.0
# See the LICENSE file for details.
#
# This file is part of NVMe STorage Appliance Services (nvme-stas).
#
# Authors: Martin Belanger <Martin.Belanger@dell.com>
#
BUILD_DIR="${BUILD_DIR:-.build}"

if [ ! -d ${BUILD_DIR} ]; then
    exec meson setup ${BUILD_DIR} "$@"
else
    exec meson configure ${BUILD_DIR} "$@"
fi