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_arch_is_concerned.sh') diff --git a/tests/ob_arch_is_concerned.sh b/tests/ob_arch_is_concerned.sh index daaff44..c408ef3 100755 --- a/tests/ob_arch_is_concerned.sh +++ b/tests/ob_arch_is_concerned.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}" plan_ 12 -- cgit v0.9.1