X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail.toastin.space (mail.toastin.space [207.246.93.162]) by lists.alpinelinux.org (Postfix) with ESMTP id 5A9695C67CA for ; Sat, 8 Dec 2018 18:23:37 +0000 (GMT) Received: from mail.toastin.space (localhost [127.0.0.1]) by mail.toastin.space (OpenSMTPD) with ESMTP id 0d1473bb for ; Sat, 8 Dec 2018 13:23:36 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=toastin.space; h=from:to :cc:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=ml; bh=/dr4tw/cMUWrRq87rA3hzho40y8 =; b=fKfKBCX6LpAXQf9fZ35R4cizUjuO06gvaQPEHdP7KMh/yNYBsJ4GvcYuDHf F5gRT6JNnGxNpTmLm2kofqRS733j6VdsE2AFNvph6gH+Ce4zVrGuXPzrYmcxk4Zx 7dHPOJMEWM00Ttd/VyTmUT6xRIcChXVKKcLc/i2YGfgEvhyky2Cio/um4nu5SwQL 6x4py/2J7j4alVPBlb/5giMCINMY3ZmnMWqbfr0QV8gfrxEF9av30r6ZgnFPdj1D ZV81vwc3mR3ceOo8r/qGJgTw3Bc2WvvgNdx3BctQiGzMDZY8WPwSy3h/PByedOTt M1+VEuW4/UAcp1uv2WlFaPtaA1Q== DomainKey-Signature: a=rsa-sha1; c=nofws; d=toastin.space; h=from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; q=dns; s=ml; b=huHStuPnSilNft8PIXnxw wIr6tug1uZ6x6nQSyDKdbcXqdGrGeuPtV0eUIBtJ0uIGsO6p9qfNFDR9t/H1usS8 cB4QKc9BoFs4YZBQc34/MOGlSBtxlXl0KCr4rH2MJgg6fh8CEEXllZxihhBDkAzk jtqZFzS4ngtS5111+jbjcX8SKP2GeC80MYQsq6Q0cZ60a6et+iwE4oE4Kz7gO7NG zvllX/PtSIt3skrpxAfnW0M7eMOed4ctaUBHEPJO6F5iao0JpXZ06gjvgQFWykw9 M4DUaEDWeTlxC7z/GhPSAttPz+A0Lxp6y50O3KGXZKW+iO6RibfLQGVKMjB5lMdY Q== Received: from LapToast.home.toastin.space (192-222-169-215.qc.cable.ebox.net [192.222.169.215]) by mail.toastin.space (OpenSMTPD) with ESMTPSA id 94638564 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Sat, 8 Dec 2018 13:23:36 -0500 (EST) From: Chloe Kudryavtsev To: alpine-devel@lists.alpinelinux.org Cc: Chloe Kudryavtsev Subject: [alpine-devel] [PATCH 1/2] Make clean() use cleanup() Date: Sat, 8 Dec 2018 13:22:43 -0500 Message-Id: <20181208182254.4300-2-toast@toastin.space> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181208182254.4300-1-toast@toastin.space> References: <20181208182254.4300-1-toast@toastin.space> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Avoid DRY issues, and increase consistency. --- Patch sent in separately, as it may make sense to merge even if patch 2 is rejected. abuild.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/abuild.in b/abuild.in index 566f528..eceb9f2 100644 --- a/abuild.in +++ b/abuild.in @@ -472,9 +472,8 @@ unpack() { # cleanup source and package dir clean() { - msg "Cleaning temporary build dirs..." - rm -rf "$srcdir" - rm -rf "$pkgbasedir" + cleanup srcdir + cleanup pkgdir } # cleanup fetched sources -- 2.19.2 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---