Skip to content

Commit

Permalink
Fix: running the script from non-script folder didn't work properly
Browse files Browse the repository at this point in the history
  • Loading branch information
bokysan committed Sep 29, 2023
1 parent 3e10ea6 commit 730e481
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion helm/tests.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#!/usr/bin/env bash
set -e
mkdir -p fixtures

SCRIPT_DIR="$( pwd; )/$( dirname -- $0; )"
cd "${SCRIPT_DIR}"
FIND="find"

mkdir -p fixtures
# Brew installs GNU find as "gfind" by default
if command -v gfind >/dev/null 2>&2; then
FIND="$(which gfind)"
Expand Down

0 comments on commit 730e481

Please sign in to comment.