Message ID | 75c83b707f014eb7bbc593617614864c596f9bac.1527783895.git.jan.steffens@gmail.com |
---|---|
State | Accepted, archived |
Headers | show
Return-Path: <pacman-dev-bounces@archlinux.org> Delivered-To: patchwork@archlinux.org Received: from apollo.archlinux.org (localhost [127.0.0.1]) by apollo.archlinux.org (Postfix) with ESMTP id E5FB547F87F3 for <patchwork@archlinux.org>; Thu, 31 May 2018 16:25:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on apollo X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1,FREEMAIL_FROM=0.5,MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3,T_DKIM_INVALID=1 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-BL-Results: <dns:1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.7.8.0.6.0.6.1.0.8.f.4.0.1.0.a.2.list.dnswl.org> [127.0.9.2] Received: from orion.archlinux.org (orion.archlinux.org [IPv6:2a01:4f8:160:6087::1]) by apollo.archlinux.org (Postfix) with ESMTPS for <patchwork@archlinux.org>; Thu, 31 May 2018 16:25:51 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id 8BEDEADE36A1B; Thu, 31 May 2018 16:25:41 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [5.9.250.164]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by orion.archlinux.org (Postfix) with ESMTPS; Thu, 31 May 2018 16:25:39 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id 768C225068; Thu, 31 May 2018 16:25:35 +0000 (UTC) Authentication-Results: luna.archlinux.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=LLm7jrQy Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id E2A772503C for <pacman-dev@lists.archlinux.org>; Thu, 31 May 2018 16:25:33 +0000 (UTC) Received: from orion.archlinux.org (orion.archlinux.org [IPv6:2a01:4f8:160:6087::1]) by luna.archlinux.org (Postfix) with ESMTPS for <pacman-dev@lists.archlinux.org>; Thu, 31 May 2018 16:25:33 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id 8326AADE369EB for <pacman-dev@archlinux.org>; Thu, 31 May 2018 16:25:29 +0000 (UTC) Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by orion.archlinux.org (Postfix) with ESMTPS for <pacman-dev@archlinux.org>; Thu, 31 May 2018 16:25:29 +0000 (UTC) Received: by mail-wm0-x22a.google.com with SMTP id f8-v6so55143282wmc.4 for <pacman-dev@archlinux.org>; Thu, 31 May 2018 09:25:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=ruRli4N8b7Yc/QeOzwF6qgg6vvo1ucf7Zan+91FLjOU=; b=LLm7jrQyyUs1+KlXrKYvvla5IU6nazLOzovgkK6EKMHRVksk3uKaAxNbzza0cLtK26 n8oHS39Pk5HqywFLPiVqMAGvuTqjatsvArvC3nMOfA7sW/qimmiO1woa2K4K1CgssemD JIUGWutSdyLctlDNbbins5OXU+AdYh7RFR1H29Jyc/LL2vo7bO5xXmwu6bQMRhc4vEPJ piBrWhtjwqBK5p1ZyR+skytxOlz5o022yJYWLWaTrtzTZq8cT93qPsv5pGkxGa9Kf1t5 yEwUjBx+0BDl+xWyFDHSQp3WMHjE3zeZvSwzKU693HmTpvyUv3gi+JCnAdJdzOYKjdSz DS8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=ruRli4N8b7Yc/QeOzwF6qgg6vvo1ucf7Zan+91FLjOU=; b=jITNk4LI2/RhGJ4eStMuGsBUhbv7QQM5Coby+pwQbv7/czZx5ohzl8T1gLqVeRDqEH NUmZZZSj9sxTF80xUYn3WLdWVRuyf5R1GIrt37oxcfCAVjAXPqipXS0W+dsZaV9Aoty2 3nISG2ZoEdEcoavtkFxPPgzxZFAiDsxoVv0X5d15W5fPa8UHdJ4tWZd5Q6xPp8OxBQN5 6U+q3YCdZ/yYXsMCDtWth/AQCHclsZAsllyRf1hdPYhf6h6b/BIDKFwyw115CnnpU7Vd P8kDQNO/8X/K0SIXsez5iOoM8SlE5MRrMMtPvu00eWzkqGGa1brjUCUQFsOR495fICKE S5Lg== X-Gm-Message-State: ALKqPwct35J2zwz+MtF+FZAbW5kqP6hchCXruuEx9L3dzvScP4OEKV24 Tt+52HfK4qaFWW4l3m7YAfWNg0Cc X-Google-Smtp-Source: ADUXVKJ7ha7IUuGD+q9tEBm7jd5ZIY3P3+KF4g1ASLN34cX1hpD5da9oFzjJZPKxFxIqGyahZAMfGw== X-Received: by 2002:a1c:256:: with SMTP id 83-v6mr406420wmc.41.1527783928968; Thu, 31 May 2018 09:25:28 -0700 (PDT) Received: from philomeena.fritz.box ([2001:470:6d:88a:6bec:9309:97:97c]) by smtp.gmail.com with ESMTPSA id v196-v6sm1685341wmf.36.2018.05.31.09.25.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 May 2018 09:25:28 -0700 (PDT) From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com> To: pacman-dev@archlinux.org Date: Thu, 31 May 2018 18:24:48 +0200 Message-Id: <75c83b707f014eb7bbc593617614864c596f9bac.1527783895.git.jan.steffens@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <b82295e010281dec887c727944b3e172dc9e95b1.1527783895.git.jan.steffens@gmail.com> References: <b82295e010281dec887c727944b3e172dc9e95b1.1527783895.git.jan.steffens@gmail.com> In-Reply-To: <b82295e010281dec887c727944b3e172dc9e95b1.1527783895.git.jan.steffens@gmail.com> References: <b82295e010281dec887c727944b3e172dc9e95b1.1527783895.git.jan.steffens@gmail.com> Subject: [pacman-dev] [PATCH 03/10] makepkg: Simplify run_package X-BeenThere: pacman-dev@archlinux.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Discussion list for pacman development <pacman-dev.archlinux.org> List-Unsubscribe: <https://lists.archlinux.org/options/pacman-dev>, <mailto:pacman-dev-request@archlinux.org?subject=unsubscribe> List-Archive: <https://lists.archlinux.org/pipermail/pacman-dev/> List-Post: <mailto:pacman-dev@archlinux.org> List-Help: <mailto:pacman-dev-request@archlinux.org?subject=help> List-Subscribe: <https://lists.archlinux.org/listinfo/pacman-dev>, <mailto:pacman-dev-request@archlinux.org?subject=subscribe> Reply-To: Discussion list for pacman development <pacman-dev@archlinux.org> Errors-To: pacman-dev-bounces@archlinux.org Sender: "pacman-dev" <pacman-dev-bounces@archlinux.org> |
Series |
[pacman-dev,01/10] libmakepkg/util/option: Refactor checking to reduce code duplication
|
expand
|
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 748481e4..4684e444 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -495,14 +495,7 @@ run_check() { } run_package() { - local pkgfunc - if [[ -z $1 ]]; then - pkgfunc="package" - else - pkgfunc="package_$1" - fi - - run_function_safe "$pkgfunc" + run_function_safe "package${1:+_$1}" } find_libdepends() {