Merge pull request #4890 from dokku/drop-which

Drop which in favor of command -v
This commit is contained in:
Jose Diaz-Gonzalez
2021-10-28 19:10:34 -04:00
committed by GitHub
7 changed files with 7 additions and 8 deletions

View File

@@ -6,7 +6,7 @@ if [[ ! -f "$DOKKU_ROOT/VHOST" ]]; then
[[ $(dig +short "$(hostname -f)") ]] && hostname -f >"$DOKKU_ROOT/VHOST"
fi
dokku_path="$(which dokku)"
dokku_path="$(command -v dokku)"
# temporary hack for https://github.com/dokku/dokku/issues/82
# redeploys all apps after a reboot