Merge pull request #33 from arutk/configure_check_tools
Check for required commands in configure script
This commit is contained in:
commit
89fbfac2d5
2
configure
vendored
2
configure
vendored
@ -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`
|
||||
|
Loading…
Reference in New Issue
Block a user