X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 54CB2DC7BA4 for ; Fri, 5 Jul 2013 04:21:55 +0000 (UTC) Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 53231207F1 for ; Fri, 5 Jul 2013 00:21:48 -0400 (EDT) Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute2.internal (MEProxy); Fri, 05 Jul 2013 00:21:48 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:subject:date:message-id :in-reply-to:references; s=smtpout; bh=Slj/O5YS9QOkKBLlO0iOlXABL W8=; b=L53ZiTm2MrVvTXLEgI+5cPJ4MIf/+j06dwfMpdf96TMCqi9QHlMmwnICy 2DxLbWLWR8Xt1YnDdkEWfJly9LHCq68d51KTrMqZdh+J2+G67BkWmFlcFuGP7wtH Z3zEQHF5UT5w/GtMGyVFHzmaMLGS4z+/QbOZ8vYFPbwE8J8ayA= X-Sasl-enc: 3FX8i9R+tOk8ErmgEyytnnqM5rWsz4qq74L2+1r9mFuK 1372998108 Received: from localhost (unknown [69.86.161.244]) by mail.messagingengine.com (Postfix) with ESMTPA id 22783680204 for ; Fri, 5 Jul 2013 00:21:48 -0400 (EDT) From: Dubiousjim To: alpine-devel@lists.alpinelinux.org Subject: [alpine-devel] [PATCH 15/31] abuild-sign: fix a race condition Date: Fri, 5 Jul 2013 00:21:24 -0400 Message-Id: X-Mailer: git-send-email 1.8.3.1 In-Reply-To: References: X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- abuild-sign.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abuild-sign.in b/abuild-sign.in index 6207aab..96a1826 100644 --- a/abuild-sign.in +++ b/abuild-sign.in @@ -35,8 +35,8 @@ do_sign() { tmpsigned=$(mktemp) cat "$tmptargz" "$i" > "$tmpsigned" rm -f "$tmptargz" "$sig" + chmod 644 "$tmpsigned" mv "$tmpsigned" "$i" - chmod 644 "$i" if [ -z "$quiet" ]; then echo "Signed $i" fi -- 1.8.3.1 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---