wok-current rev 14178
linux: update bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 10 17:56:50 2013 +0100 (2013-03-10) |
parents | 4add8eb5b209 |
children | b67321452f56 |
files | linux/receipt |
line diff
1.1 --- a/linux/receipt Sun Mar 10 17:43:26 2013 +0100 1.2 +++ b/linux/receipt Sun Mar 10 17:56:50 2013 +0100 1.3 @@ -48,7 +48,7 @@ 1.4 case "$ARCH" in 1.5 arm) 1.6 echo "Compiling: ARM Kernel" 1.7 - if [ ! -f $SRC/$(basename $PATCH) ]; then 1.8 + if [ ! -s $SRC/$(basename $PATCH) ]; then 1.9 wget --no-check-certificate $PATCH -O $SRC/$(basename $PATCH) 1.10 fi 1.11 make mrproper 1.12 @@ -133,14 +133,10 @@ 1.13 EOT 1.14 1.15 if [ "$KBASEVER" != "$VERSION" ]; then 1.16 - if [ -f $SOURCES_REPOSITORY/$(basename $PATCH) ]; then 1.17 - xzcat $SOURCES_REPOSITORY/$(basename $PATCH) | patch -Np1 1.18 - touch done.patch-$VERSION 1.19 - else 1.20 - wget --no-check-certificate $PATCH -O $SRC/$(basename $PATCH) 1.21 - xzcat $SRC/$(basename $PATCH) | patch -Np1 1.22 - touch done.patch-$VERSION 1.23 - fi 1.24 + [ -s $SRC/$(basename $PATCH) ] || 1.25 + wget --no-check-certificate $PATCH -O $SRC/$(basename $PATCH) 1.26 + xzcat $SRC/$(basename $PATCH) | patch -Np1 1.27 + touch done.patch-$VERSION 1.28 fi 1.29 1.30 sed -i 's|SUBLEVEL =.*|SUBLEVEL =|g' Makefile