mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
scripts/build-aci: fix the way to check executability
Or it may treat runnable command as unexecutable.
This commit is contained in:
parent
106d918dd5
commit
a1b01c266a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user