diff options
author | 2023-01-06 14:28:45 +0100 | |
---|---|---|
committer | 2023-01-06 14:28:45 +0100 | |
commit | b3f596fc2c3b6cc5af1c255f5c3bf397b63d41c6 (patch) | |
tree | e664538d3066cded0c0d2f751631037bd8379415 | |
parent | gradle.eclass: add gradle-set_EGRADLE and tests (diff) | |
download | java-b3f596fc2c3b6cc5af1c255f5c3bf397b63d41c6.tar.gz java-b3f596fc2c3b6cc5af1c255f5c3bf397b63d41c6.tar.bz2 java-b3f596fc2c3b6cc5af1c255f5c3bf397b63d41c6.zip |
eclass/tests: allow gradle.sh to be invoked from any directory
Signed-off-by: Florian Schmaus <flow@gentoo.org>
-rwxr-xr-x | eclass/tests/gradle.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/eclass/tests/gradle.sh b/eclass/tests/gradle.sh index dac9c9cc..61666c1b 100755 --- a/eclass/tests/gradle.sh +++ b/eclass/tests/gradle.sh @@ -4,6 +4,9 @@ EAPI=8 +SCRIPT_DIR=$(cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd) +cd "${SCRIPT_DIR}" + source tests-common.sh || exit inherit gradle |