* autogen.sh: Use "-h", not "-f", to test for existence of symbolic
links under grub-core/lib/libgcrypt-grub/mpi.
This commit is contained in:
parent
d5e2a158e1
commit
9277a306a7
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2013-04-09 Andrey Borzenkov <arvidjaar@gmail.com>
|
||||||
|
|
||||||
|
* autogen.sh: Use "-h", not "-f", to test for existence of symbolic
|
||||||
|
links under grub-core/lib/libgcrypt-grub/mpi.
|
||||||
|
|
||||||
2013-04-08 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-04-08 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
Fix ia64-efi image generation on big-endian machines. Deduplicate
|
Fix ia64-efi image generation on big-endian machines. Deduplicate
|
||||||
|
|
|
@ -24,7 +24,7 @@ ln -s ../../../grub-core/lib/libgcrypt-grub/src/g10lib.h include/grub/gcrypt/g10
|
||||||
cp -R grub-core/lib/libgcrypt/mpi/generic grub-core/lib/libgcrypt-grub/mpi/generic
|
cp -R grub-core/lib/libgcrypt/mpi/generic grub-core/lib/libgcrypt-grub/mpi/generic
|
||||||
|
|
||||||
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
|
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"
|
rm grub-core/lib/libgcrypt-grub/mpi/"$x"
|
||||||
fi
|
fi
|
||||||
ln -s generic/"$x" grub-core/lib/libgcrypt-grub/mpi/"$x"
|
ln -s generic/"$x" grub-core/lib/libgcrypt-grub/mpi/"$x"
|
||||||
|
|
Loading…
Reference in a new issue