fix: drop which in favor of command -v

This commit is contained in:
Jose Diaz-Gonzalez
2021-10-28 18:22:20 -04:00
parent b146483940
commit 6c709f2386
7 changed files with 7 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -xeo pipefail
SELF=$(which "$0")
SELF=$(command -v "$0")
APP="$1"
TARGET="$2"
FORWARDED_PORT="$3"