Skip to content

Commit 349df36

Browse files
committed
use absolute paths in integration tests
1 parent e4926c7 commit 349df36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/usr/bin/env bash
22

33
# Directory of the integration test
4-
HERE=$(dirname "$0")
4+
HERE="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
55
# Root directory of the repository
6-
DIST=$(cd $HERE/..; echo "$PWD")
6+
DIST=$(cd ..; pwd)
77

88
source "${HERE}"/bashtest.sh
99

0 commit comments

Comments
 (0)