abuild: simplify 'Entering fakeroot' message

This commit is contained in:
Sertonix 2024-04-26 23:35:05 +02:00
parent a45d12d4c3
commit f473c088f8
1 changed files with 1 additions and 2 deletions

View File

@ -2231,6 +2231,7 @@ is_function() {
do_fakeroot() {
if [ -n "$FAKEROOT" ]; then
msg "Entering fakeroot..."
$FAKEROOT -- "$@"
else
"$@"
@ -2240,7 +2241,6 @@ do_fakeroot() {
# wrap check() with fakeroot
check_fakeroot() {
cd "$startdir"
[ -n "$FAKEROOT" ] && msg "Entering fakeroot..."
do_fakeroot "$abuild_path" $forceroot $color_opt $keep_build $verbose check
}
@ -2248,7 +2248,6 @@ check_fakeroot() {
rootpkg() {
cd "$startdir"
rm -rf "$pkgdir"
[ -n "$FAKEROOT" ] && msg "Entering fakeroot..."
do_fakeroot "$abuild_path" $forceroot $color_opt $keep_build $verbose \
set_source_date \