Permalink
Browse files

use type instead of which, more portable

  • Loading branch information...
cdent committed Mar 17, 2018
1 parent 24ba40a commit 7aff711511be0bb747ec8a7b4a00fcc18a58f882
Showing with 1 addition and 3 deletions.
  1. +1 −3 bootstrap.sh
@@ -9,6 +9,4 @@ PLACEMENT=`minikube service placement-deployment --url`
curl -H 'x-auth-token: admin' $PLACEMENT
echo

if `which -s gabbi-run`; then
gabbi-run -v all $PLACEMENT -- gabbi.yaml
fi
type gabbi-run && gabbi-run -v all $PLACEMENT -- gabbi.yaml

0 comments on commit 7aff711

Please sign in to comment.