grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] fix autogen.sh on "dirty" tree


From: Andrey Borzenkov
Subject: Re: [PATCH] fix autogen.sh on "dirty" tree
Date: Wed, 10 Apr 2013 20:45:34 +0400

В Tue,  9 Apr 2013 20:20:26 +0400
Andrey Borzenkov <address@hidden> пишет:

>  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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]