From 08ed4c45373a5d1a6fd7d34d96a22f1ee6e6bfba Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Apr 21 2022 18:57:44 +0000 Subject: Source shell libraries from current directory, not from PATH If filename passed to the source command does not contain a slash, PATH is used to find the directory containing filename. In POSIX the current directory is *not* searched in this case. --- diff --git a/test_scripts/bytecode_version.sh b/test_scripts/bytecode_version.sh index 7159feb..2858a69 100755 --- a/test_scripts/bytecode_version.sh +++ b/test_scripts/bytecode_version.sh @@ -2,8 +2,8 @@ set -e -source common.sh -source common_jpv.sh +source ./common.sh +source ./common_jpv.sh exitcode=0 diff --git a/test_scripts/filepaths.sh b/test_scripts/filepaths.sh index 1d1d408..86eb9b8 100755 --- a/test_scripts/filepaths.sh +++ b/test_scripts/filepaths.sh @@ -2,8 +2,8 @@ set -e -source common.sh -source common_jpv.sh +source ./common.sh +source ./common_jpv.sh exitcode=0 diff --git a/test_scripts/jar_archive.sh b/test_scripts/jar_archive.sh index d4881a5..e994323 100755 --- a/test_scripts/jar_archive.sh +++ b/test_scripts/jar_archive.sh @@ -2,7 +2,7 @@ set -e -source common.sh +source ./common.sh exitcode=0 diff --git a/test_scripts/javadoc.sh b/test_scripts/javadoc.sh index 4684fa0..faf2d4c 100755 --- a/test_scripts/javadoc.sh +++ b/test_scripts/javadoc.sh @@ -2,8 +2,8 @@ set -e -source common.sh -source common_jpv.sh +source ./common.sh +source ./common_jpv.sh exitcode=0 diff --git a/test_scripts/rpm_filesize.sh b/test_scripts/rpm_filesize.sh index 9f13a93..5b9c1c2 100755 --- a/test_scripts/rpm_filesize.sh +++ b/test_scripts/rpm_filesize.sh @@ -2,8 +2,8 @@ set -e -source common.sh -source common_jpv.sh +source ./common.sh +source ./common_jpv.sh exitcode=0