Message ID | 20191007062528.3699-1-allan@archlinux.org |
---|---|
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 A01331443ED5D for <patchwork@archlinux.org>; Mon, 7 Oct 2019 06:25:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on apollo X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1, MAILING_LIST_MULTI=-1,RCVD_IN_DNSWL_MED=-2.3,SPF_HELO_NONE=0.001, T_DMARC_POLICY_NONE=0.01 autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-BL-Results: <dns:70.91.198.88.list.dnswl.org> [127.0.9.2] Received: from orion.archlinux.org (orion.archlinux.org [88.198.91.70]) by apollo.archlinux.org (Postfix) with ESMTPS for <patchwork@archlinux.org>; Mon, 7 Oct 2019 06:25:48 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id 38B9115ACF0F5C; Mon, 7 Oct 2019 06:25:41 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [IPv6:2a01:4f8:160:3033::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits)) (No client certificate requested) by orion.archlinux.org (Postfix) with ESMTPS; Mon, 7 Oct 2019 06:25:41 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id 00CB32CB1A; Mon, 7 Oct 2019 06:25:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=archlinux.org; s=luna2; t=1570429541; bh=ulI7ucASfCCFEAbE95zy9qOtVwpbDpYR4V0eOEvJl8M=; h=From:To:Date:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:Reply-To; b=aOeOVH4Iu8yy8JNg0I6eq13qrrl4AM0A0b4QVcdHqLXzqK0ZcXUwPT7l5NDwKi48V 4F0Q7vDRJCgvYNPgMkaa/ehyK133aljNBXShOlz9aQzQyR6+to15+1c8innF7hiBx9 HhrU+RPsCDmuLU7xsSTB9Hx2kHt0nvBOfyCDpFcCYv7RUsMQ1iEwgNhv77NxrU0Zio 52d6+ltRQJtz/6lZyqvXTOsU1feYHwFoRg1T0xT6Ffa7nJkra48ue6ZlJk7TZYKWEh El2LLVlE4nxWx1q9lDgnBWqqMp2YcCH5YBeWE5OHITfZaXUmrj85T51jFmJQfpZtcI tmMjq9KD8fz+2KuaYaAJSZIwqEx8DJyTqMoMpoYqKWgQ8HpJGUFBuMAlpOAN9STDp1 r4ITooS3hs/SFZPQugl3t/wsEEmPXXTlscczmB4SMBcqY1Tzz86YiOaO6lhji0Aywv TKqTHCxFRy2fODaD1dCH8nsElRVessYb4kq4xvpO9TGQKS3BwCwq9GUpAaP6uZsbJf qcZHsnJKJo6UNX6wt/VNa26HHSXxtxS10vh2uM65QwDBXcad44thlrHbiEmCzVJa+s WdKju2LuVY/JyipsqkPX/ju8uP7QC7iuuwao0HkeVXh/ujpOQOAjSaDOXKu+5L43K3 xDWUIe7Do4TvQ6UtxPNT6Cyg= Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id CAD772CB19 for <pacman-dev@lists.archlinux.org>; Mon, 7 Oct 2019 06:25:36 +0000 (UTC) Received: from orion.archlinux.org (orion.archlinux.org [88.198.91.70]) by luna.archlinux.org (Postfix) with ESMTPS for <pacman-dev@lists.archlinux.org>; Mon, 7 Oct 2019 06:25:36 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id CF1FF15ACF0F57 for <pacman-dev@lists.archlinux.org>; Mon, 7 Oct 2019 06:25:26 +0000 (UTC) Received: from kamala.localdomain (183.55.148.122.sta.dodo.net.au [122.148.55.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: allan) by orion.archlinux.org (Postfix) with ESMTPSA id 4599715ACF0F56 for <pacman-dev@archlinux.org>; Mon, 7 Oct 2019 06:25:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=archlinux.org; s=orion; t=1570429526; bh=ulI7ucASfCCFEAbE95zy9qOtVwpbDpYR4V0eOEvJl8M=; h=From:To:Subject:Date; b=yKqjI30gd4ooW1RoQRc/MOmNzInttEHwRzfup+ZmW72JRfmrSuYiklc2lS4ObyeWV i8dp1PGDhdugOP0Xxm9f7OpIDfnRxRgdoV+YQQ0D3XGSmSlDTF77g2a2tPthrW9A8w GT1ZTe70dSiI47Zlg1znsOFuy/KsCCZvEqTf6Xcr57Am1WTZ85PgY2KFBsmajxjdfm tQNWjP9/sADhOEaFKMUQdSBmYF7UDbPWTPwPBchSzmL6xFpeSeeqwYs6n02E/rkU8K mpULMGaaPTOi5aiUOaZE28B0gyt0RVMan8u92/Jo3mDeehf4X4HpIw2G+ClxI9Iq9G qa2eZ35V/hF0G5LG890pu2Im5nh/tNXJ0fmZrLYjbGqh9ieCZg0cOdu5FqYrEE0XJP fp19gpkT0PX8Ud66AhGjC2W99ZXBjR3WAetKsu/OOwywg6cygq6clY4itPtvzS3bGj bXAV4Kz0nZjVIqaCfajIV9XqK0toq8Q7Fw1GfuPb8lBDjvPOPaarWB/6WcSDR9i5F4 Pq7316UWEgS1czbZJOM5/BP7uMa1+iwU2X0cRvdiKcJ5eZAJ+bWET5ZZLqRrsU4TOw jVIcoNs9JiNdk9BGDUGqxl8SlqBQnEoqMA4uU+eC6qqv1hpPTJlpOnkqPvMuelXkg2 I2ozC2JierUEp1fdR+KqtMJ4= From: Allan McRae <allan@archlinux.org> To: pacman-dev@archlinux.org Date: Mon, 7 Oct 2019 16:25:28 +1000 Message-Id: <20191007062528.3699-1-allan@archlinux.org> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [pacman-dev] [PATCH] makepkg: wait for process to finish X-BeenThere: pacman-dev@archlinux.org X-Mailman-Version: 2.1.29 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] makepkg: wait for process to finish
|
expand
|
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index fac268a8..ec2de455 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -428,7 +428,7 @@ run_function() { $pkgfunc &>"$logpipe" - wait $teepid + wait -f $teepid rm "$logpipe" else "$pkgfunc"
Without the -f option to wait, we might move on and try to delete the logpipe before the process is completed. Signed-off-by: Allan McRae <allan@archlinux.org> --- This is a follow-up to the logpipe discussion. Hopefully this prevents the need for rm -f on $logpipe, but we will have to wait and see if that issue is still around. scripts/makepkg.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)