We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4926c7 commit 349df36Copy full SHA for 349df36
tests/test.sh
@@ -1,9 +1,9 @@
1
#!/usr/bin/env bash
2
3
# Directory of the integration test
4
-HERE=$(dirname "$0")
+HERE="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
5
# Root directory of the repository
6
-DIST=$(cd $HERE/..; echo "$PWD")
+DIST=$(cd ..; pwd)
7
8
source "${HERE}"/bashtest.sh
9
0 commit comments