diff --git a/tests/mktree.fedora b/tests/mktree.fedora index 8d7ecff1fc..a289236e81 100755 --- a/tests/mktree.fedora +++ b/tests/mktree.fedora @@ -150,7 +150,7 @@ case $CMD in set -a mount_tree $SANDBOX_DIR function dnf() { - /usr/bin/dnf --installroot=$RPMTEST "$@" + $(which dnf) --installroot=$RPMTEST "$@" } echo "$ENV_MOTD" $SHELL