Merge "ramdisk-image-create shows a failed binary dependency"
This commit is contained in:
commit
b98e8d1b3f
@ -40,8 +40,7 @@ function ensure_binaries() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
for _BIN in $BINARY_DEPS ; do
|
for _BIN in $BINARY_DEPS ; do
|
||||||
_LOCATION=""
|
_LOCATION=$(which "$_BIN" || echo "")
|
||||||
_LOCATION="${_LOCATION:-$(which $_BIN)}"
|
|
||||||
if [ -z "$_LOCATION" ]; then
|
if [ -z "$_LOCATION" ]; then
|
||||||
echo "$_BIN is not found in your PATH" 1>&2
|
echo "$_BIN is not found in your PATH" 1>&2
|
||||||
echo "Please install it on your system"
|
echo "Please install it on your system"
|
||||||
|
Loading…
Reference in New Issue
Block a user