summaryrefslogtreecommitdiffstats
path: root/tests/ob_reduce_deps.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ob_reduce_deps.sh')
-rwxr-xr-xtests/ob_reduce_deps.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/ob_reduce_deps.sh b/tests/ob_reduce_deps.sh
index 06d98ec..5519dde 100755
--- a/tests/ob_reduce_deps.sh
+++ b/tests/ob_reduce_deps.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}"
plan_ 11