diff --git a/scripts/build-aci b/scripts/build-aci index 9d5464ffa..69b56214b 100755 --- a/scripts/build-aci +++ b/scripts/build-aci @@ -8,7 +8,7 @@ IMAGEDIR=${IMAGEDIR:-bin/image-aci} VERSION=$1 -if [ ! -x "$ACTOOL" ] ; then +if ! command -v $ACTOOL >/dev/null; then echo "actool ($ACTOOL) is not executable" exit 1 fi