Skip to content

Commit

Permalink
follow symlink for path to binary
Browse files Browse the repository at this point in the history
  • Loading branch information
garethr committed May 17, 2019
1 parent 11d6c46 commit 904c3a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/kubectl-conftest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function usage () {
echo " kubectl test (TYPE[.VERSION][.GROUP] [NAME] | TYPE[.VERSION][.GROUP]/NAME)"
}

SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
SCRIPT_DIR="$( cd "$( dirname "$(readlink -f "$0")")" && pwd )"
conftest="${SCRIPT_DIR}/conftest"

# Check the required commands are available on the PATH
Expand Down

0 comments on commit 904c3a2

Please sign in to comment.