Skip to content

Commit

Permalink
Use which(1) in dnf() function
Browse files Browse the repository at this point in the history
No functional change, just cleaner.
  • Loading branch information
dmnks committed Aug 10, 2023
1 parent 607e7af commit 7a2b522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/mktree.fedora
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7a2b522

Please sign in to comment.