[arch-projects] [devtools][PATCH 1/1] use makepkg library instead of local function copies

Eli Schwartz eschwartz at archlinux.org
Mon Sep 25 00:08:51 UTC 2017


On 09/24/2017 06:56 PM, Luke Shumaker wrote:
> This mirrors dbscripts commit
> 625fa02 by Pierre Schmitz <pierre at archlinux.de> at 2017-04-18 14:20:49
> ---
>  lib/common.sh | 100 ++++------------------------------------------------------
>  1 file changed, 7 insertions(+), 93 deletions(-)
> 
> diff --git a/lib/common.sh b/lib/common.sh
> index 0fb93d9..a3c2ec2 100644
> --- a/lib/common.sh
> +++ b/lib/common.sh
> @@ -6,62 +6,21 @@
>  [[ -z ${_INCLUDE_COMMON_SH:-} ]] || return 0
>  _INCLUDE_COMMON_SH=true
>  
> +# shellcheck disable=1091
> +. /usr/share/makepkg/util.sh

Please just source the actual parts we need, the same way
https://git.archlinux.org/dbscripts.git/commit/?id=625fa02 also only uses
/usr/share/makepkg/util/message.sh
/usr/share/makepkg/util/util.sh
/usr/share/makepkg/util/pkgbuild.sh

-- 
Eli Schwartz

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-projects/attachments/20170924/4462cbff/attachment.asc>


More information about the arch-projects mailing list