Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: David Seifert <soap@g.o>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH 1/2] multibuild.eclass: remove dead userland_BSD
Date: Sat, 08 Jan 2022 18:19:42
Message-Id: u8rvqozty@gentoo.org
In Reply to: [gentoo-dev] [PATCH 1/2] multibuild.eclass: remove dead userland_BSD by David Seifert
1 >>>>> On Sat, 08 Jan 2022, David Seifert wrote:
2
3 > + cp "${cp_args[@]}" "${src}"/. "${dest}"/
4 > + ret=${?}
5 > +
6 > if [[ ${ret} -ne 0 ]]; then
7 > die "${MULTIBUILD_VARIANT:-(unknown)}: merging image failed."
8 > fi
9
10 This could be further simplified to "cp ... || die ..." (and no need to
11 declare ret above).

Attachments

File name MIME type
signature.asc application/pgp-signature