From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1UPy9a-0000Gs-0k for mharc-grub-devel@gnu.org; Wed, 10 Apr 2013 12:45:46 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57222) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPy9X-0000Gd-Ds for grub-devel@gnu.org; Wed, 10 Apr 2013 12:45:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPy9V-0000uY-7u for grub-devel@gnu.org; Wed, 10 Apr 2013 12:45:43 -0400 Received: from mail-la0-x231.google.com ([2a00:1450:4010:c03::231]:55352) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPy9V-0000uL-0H for grub-devel@gnu.org; Wed, 10 Apr 2013 12:45:41 -0400 Received: by mail-la0-f49.google.com with SMTP id fs12so650984lab.36 for ; Wed, 10 Apr 2013 09:45:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:subject:message-id:in-reply-to:references :x-mailer:mime-version:content-type:content-transfer-encoding; bh=xh75XVfedC74rnVpk2T3KONbcwmnGcM6puSBpeh21u0=; b=ewwnWsKrFwmA+a/sBKfqDkoeaA0DeJSAyTt4+leM7SrdFP79xxEFdgJFhneLvslVyb hTL+dN2zeBOWYKh+F7c72JJ2T55tvjEL0YmXvKCbPLNq3KLzk88GBtdvV1l8xDRHtXOt cKZitw9E9L8vLej3/KE2NMKmHJsZjHiS1fhyK2JDDSiG/OkNepiwmcDf0ktbi/2Tq8fR f3TvmV5hl5MGMuuXDk1WxsyPfz0dIa1PYg0BZywaj4fAkhnXtRNOxxaNF18cukzKzpat ozGs4CATwkp+VJXdrfmwHWF/FAWPhxNMoQnbGyjdlY4+r1gdaAsSn1bAUjyg6kuPqixn 6Gdw== X-Received: by 10.112.72.164 with SMTP id e4mr1550209lbv.126.1365612339017; Wed, 10 Apr 2013 09:45:39 -0700 (PDT) Received: from opensuse.site ([94.29.72.160]) by mx.google.com with ESMTPS id jh4sm237723lab.7.2013.04.10.09.45.38 (version=SSLv3 cipher=RC4-SHA bits=128/128); Wed, 10 Apr 2013 09:45:38 -0700 (PDT) Date: Wed, 10 Apr 2013 20:45:34 +0400 From: Andrey Borzenkov To: grub-devel@gnu.org Subject: Re: [PATCH] fix autogen.sh on "dirty" tree Message-ID: <20130410204534.6cb6d43a@opensuse.site> In-Reply-To: <1365524426-534-1-git-send-email-arvidjaar@gmail.com> References: <1365524426-534-1-git-send-email-arvidjaar@gmail.com> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.14; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::231 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: Wed, 10 Apr 2013 16:45:44 -0000 В Tue, 9 Apr 2013 20:20:26 +0400 Andrey Borzenkov пишет: > for x in mpi-asm-defs.h mpih-add1.c mpih-sub1.c mpih-mul1.c mpih-mul2.c 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" Hmm ... they become plain files in tardist ... 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.