]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Use $TOP_SRCDIR instead of $TOP of calling prepare-softhsm2 script
authorOndřej Surý <ondrej@isc.org>
Wed, 22 Apr 2020 13:39:45 +0000 (15:39 +0200)
committerOndřej Surý <ondrej@isc.org>
Fri, 24 Apr 2020 14:11:20 +0000 (16:11 +0200)
bin/tests/system/runtime/tests.sh

index 00162731d482467cb0608620d147b5c3c45130bf..f46924acdd5f547a4ccacacac7feb3a111561dea 100644 (file)
@@ -203,7 +203,7 @@ if [ "$(id -u)" -eq 0 ] && [ -z "$CYGWIN" ]; then
     if [ "$?" -eq 0 ]; then
         copy_setports ns2/named-alt9.conf.in "${TEMP_NAMED_DIR}/named-alt9.conf"
         export SOFTHSM2_CONF="${TEMP_NAMED_DIR}/softhsm2.conf"
-        sh "$TOP/bin/tests/prepare-softhsm2.sh"
+        sh "$TOP_SRCDIR/bin/tests/prepare-softhsm2.sh"
         chown -R nobody: "${TEMP_NAMED_DIR}"
         chmod 0700 "${TEMP_NAMED_DIR}"
         ( cd "${TEMP_NAMED_DIR}" && $NAMED -u nobody -c named-alt9.conf -d 99 -g -U 4 >> named$n.run 2>&1 & ) || ret=1