From eed4834e28cf9c252886740915c8327dd538366f Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 24 Dec 2018 23:44:35 -0500 Subject: Makefile.am, tests/*.sh: Set and use source and build dir env vars --- (limited to 'tests/ob_parse_dep.sh') 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 . -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() { -- cgit v0.9.1