From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1USC6g-0002FB-En for mharc-grub-devel@gnu.org; Tue, 16 Apr 2013 16:03:58 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55635) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USC6c-0001zc-NX for grub-devel@gnu.org; Tue, 16 Apr 2013 16:03:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1USC6b-0004Nf-Ah for grub-devel@gnu.org; Tue, 16 Apr 2013 16:03:54 -0400 Received: from mail-ea0-x22e.google.com ([2a00:1450:4013:c01::22e]:41005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USC6a-0004N6-TW for grub-devel@gnu.org; Tue, 16 Apr 2013 16:03:53 -0400 Received: by mail-ea0-f174.google.com with SMTP id m14so422139eaj.33 for ; Tue, 16 Apr 2013 13:03:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type; bh=i3FCWM8nkYmInidjLZ9Ob2Ql8vRk+/D28aKQTCDqqxc=; b=lESiCddBCfBh7s1uYW5uZyrVk4f3SGrxgj8YqcmT3AEBJP/WyvMMWJxrqHfgqHTkk1 V9vaUeFqlYcYS8GqukoPnFFCnxZzE0u2dt2q/2MwGkF9KeDHLDd6LzC8LUycTsDRqua+ iw9Hpkrfv4gTVRUMwh2L1FjPXdviTC9AIYJvjbOgqvWBFlpB4FxzdzeQLh2nn44wpo21 Pc/majXiWcA/IkRNLkFiRwa8ZECa/7GCgRdERdH6r69D+Nx3eG1h/fM4qoyocEgWn09F k2B9KkuTV9mTzLlScC4Fzaqs+f4zjpHRyK0BbdgmUFyMGrv8cVwAisnSu5TIL8ffj53i KNyA== X-Received: by 10.15.43.73 with SMTP id w49mr9973343eev.12.1366142631493; Tue, 16 Apr 2013 13:03:51 -0700 (PDT) Received: from debian.x201.phnet (vpn-global-dhcp3-110.ethz.ch. [129.132.210.110]) by mx.google.com with ESMTPS id j44sm4670232eeu.10.2013.04.16.13.03.49 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 16 Apr 2013 13:03:50 -0700 (PDT) Message-ID: <516D5C2D.5030807@gmail.com> Date: Tue, 16 Apr 2013 16:11:57 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: [PATCH] fix autogen.sh on "dirty" tree References: <1365524426-534-1-git-send-email-arvidjaar@gmail.com> <20130410204534.6cb6d43a@opensuse.site> In-Reply-To: <20130410204534.6cb6d43a@opensuse.site> X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig9091CE0BA56B24FA402AB95E" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c01::22e X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Apr 2013 20:03:56 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9091CE0BA56B24FA402AB95E Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 10.04.2013 18:45, Andrey Borzenkov wrote: > =D0=92 Tue, 9 Apr 2013 20:20:26 +0400 > Andrey Borzenkov =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >=20 >> for x in mpi-asm-defs.h mpih-add1.c mpih-sub1.c mpih-mul1.c mpih-mul2= =2Ec mpih-mul3.c mpih-lshift.c mpih-rshift.c; do >> - if [ -f grub-core/lib/libgcrypt-grub/mpi/"$x" ]; then >> + if [ -h grub-core/lib/libgcrypt-grub/mpi/"$x" ]; then >> rm grub-core/lib/libgcrypt-grub/mpi/"$x" >> fi >> ln -s generic/"$x" grub-core/lib/libgcrypt-grub/mpi/"$x" >=20 >=20 > Hmm ... they become plain files in tardist ... >=20 > What is better - check for both -f and -h or simply use cp instead of > ln? cp looks simpler and directory is regenerated from scratch anyway. >=20 The idea behind ln is that if compilation fails on a file then when if you modified the file reported in error your changes will be to definite file, not to a temporary copy. > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel --------------enig9091CE0BA56B24FA402AB95E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAlFtXC0ACgkQNak7dOguQgkxuQD/aUWXGblkTL1Iku0C0f++XMw0 leSIClFqeDHHv80x3mABAKgmWMDN1uFScjckttVrStVsxE722QTbWPPsyJdjUYRZ =n9t4 -----END PGP SIGNATURE----- --------------enig9091CE0BA56B24FA402AB95E--