diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2018-12-24 23:44:35 (EST) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2018-12-24 23:44:35 (EST) |
commit | eed4834e28cf9c252886740915c8327dd538366f (patch) | |
tree | d7dd4148d5ea9ecc99a155ff27e94cb15a7d7939 /tests/ob_parse_dep.sh | |
parent | a05dd644a2cfb4c3b0219c24e29916d891b6d628 (diff) |
Makefile.am, tests/*.sh: Set and use source and build dir env vars
Diffstat (limited to 'tests/ob_parse_dep.sh')
-rwxr-xr-x | tests/ob_parse_dep.sh | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/ob_parse_dep.sh b/tests/ob_parse_dep.sh index edcab0d..1684a3f 100755 --- a/tests/ob_parse_dep.sh +++ b/tests/ob_parse_dep.sh @@ -17,11 +17,8 @@ # You should have received a copy of the GNU General Public License # along with opkbuild. If not, see <http://www.gnu.org/licenses/>. -srcdir="$(dirname "${0}")" -top_builddir="${PWD}" - -. "${srcdir}/aux/tap-functions.sh" -. "${top_builddir}/lib/libopkbuild.${SHSOEXT}.${LIBOPKBUILD_SHSOVERSION}" +. "${TOP_SRCDIR}/tests/aux/tap-functions.sh" +. "${TOP_BUILDDIR}/lib/libopkbuild.${SHSOEXT}.${LIBOPKBUILD_SHSOVERSION}" testcase() { |