From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5C3EB138262 for ; Sat, 21 May 2016 13:41:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 556F0234012; Sat, 21 May 2016 13:41:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 47887234008 for ; Sat, 21 May 2016 13:41:38 +0000 (UTC) Received: from localhost (cpc92302-cmbg19-2-0-cust189.5-4.cable.virginm.net [82.1.208.190]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: aidecoe) by smtp.gentoo.org (Postfix) with ESMTPSA id C8007340C44 for ; Sat, 21 May 2016 13:41:36 +0000 (UTC) From: Amadeusz =?utf-8?B?xbtvxYJub3dza2k=?= To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] Re: [PATCH] eutils.eclass: Add awk wrapper - eawk - edit file in place In-Reply-To: <1463834754-31730-1-git-send-email-aidecoe@gentoo.org> References: <1463606702-16578-1-git-send-email-aidecoe@gentoo.org> <1463834754-31730-1-git-send-email-aidecoe@gentoo.org> User-Agent: Notmuch/0.22 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Sat, 21 May 2016 14:41:33 +0100 Message-ID: <8760u75y0i.fsf@freja.aidecoe.name> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Archives-Salt: 348e3b05-c7d8-424c-a04b-a16b8642c3e6 X-Archives-Hash: 6de7f144cc5d7753e0f30d9049a03f9d --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable aidecoe@gentoo.org writes: > +tbegin "preserves permissions" > + > +cd "$(emktemp -d)" tests-common.sh already creates tmp directory, so better would be: cd "${tmpdir}" || tend $? =2D- Amadeusz =C5=BBo=C5=82nowski --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.1 iQJ8BAEBCgBmBQJXQGWNXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCMzcyRTFENjI5NUM1MzYwQTQwODQyRUZD QkNDODAyM0Y1OUUxNzA0AAoJEMvMgCP1nhcEiqkP/3LP169qFHf4Gj7r1n7bCnjJ 5E7NJwwoO79ZhgemMxvecZ5Unr+zo5cDI91LPTzIvAVz2LhCmfiXuP5ejSC6m6gl HVkPE78Xfv0YB2YYpJyOABbGU2oaEFhd2b0a+H1lK6F4+H4UnysNCAwWBOsHG2m8 BrhzJCxHdCSdyO0hQ3p8NfX/X1RUg6agXE+aCgc4cM4McNT1rl2gg2zWa2frG4f3 /QjQkFSSVpnBul3L1AVqprVJzkPCdfx5QdnxqFdlff9leDtzzQozw1lD0om2tnNV /9GqJAlrCRcSNf9y+V+GPeNJSKwVvi/4bLtqlAy9GmdBacs812vSftxoDoQfUI4g 0qLNqAQoTjX4PsTRLVsyseWBbSzkkZXtHi2Jna4nCqdwAVZjLN4L4SZVQ8Bm53os d6V3hDakYi/P/uCqTqZM8+gbYY+g3BuGsEDwZXihmDiG8tUQCBlPb+4EQOD+CAXz jM4l2VPiR6RmrwUbx2qU9p4ALIFwjGoRAtAwzySRXkx6ZHzzUmPQjGVoiLbAipM+ Z29UftlBlOuYuG9vsm3OyuJM9NCyfXIhBLhftj8qqz4PTK5C11awsh2vYu0OvKQC 35p+CFTULhnS4hlv390R9RSPsU5iK9bLcglJvaq0hTSXFd4rnn/2EgcJxJNG2mjq enLoSbuirGttx/UYp9Tk =9mas -----END PGP SIGNATURE----- --=-=-=--