Merge "ramdisk-image-create shows a failed binary dependency"

This commit is contained in:
Jenkins 2013-02-12 23:16:23 +00:00 committed by Gerrit Code Review
commit b98e8d1b3f

View File

@ -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"