From 87946959a411bda5a1b750cbefb34c3f067839c6 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 22 Dec 2018 13:17:25 -0500 Subject: tests/common.sh: Load libopkbuild and neuter ob_use() --- (limited to 'tests') diff --git a/tests/common.sh b/tests/common.sh index b45d316..83cb42a 100644 --- a/tests/common.sh +++ b/tests/common.sh @@ -21,7 +21,7 @@ BUILDDIR="${PWD}/.." # The "common" module is used by all library modules. # We have to manually load the "common" module so we can use it in ob_use. -. "${BUILDDIR}/lib/common.sho" +. "${BUILDDIR}/lib/libopkbuild.shso.1" ob_use() { @@ -35,7 +35,7 @@ ob_use() module="${BUILDDIR}/lib/${module}.sho" if [ -r "${module}" ]; then - . "${module}" + : . "${module}" else return 1 fi -- cgit v0.9.1