Merge pull request #33 from arutk/configure_check_tools

Check for required commands in configure script
This commit is contained in:
Michal Rakowski 2019-06-18 10:42:44 +02:00 committed by GitHub
commit 89fbfac2d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
configure vendored
View File

@ -3,6 +3,8 @@
# Copyright(c) 2012-2019 Intel Corporation
# SPDX-License-Identifier: BSD-3-Clause-Clear
#
which dirname 2>&1 > /dev/null || { echo >&2 "Eror: missing 'dirname' utility"; exit 1; }
which realpath 2>&1 > /dev/null || { echo >&2 "Eror: missing 'realpath' utility"; exit 1; }
SCRIPTPATH=`dirname $0`
SCRIPTPATH=`realpath $SCRIPTPATH`