wok diff bash/receipt @ rev 19701
Up: slitaz-tools and slitaz-configs
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Feb 14 12:11:41 2017 +0100 (2017-02-14) |
parents | db28d30f3f7e |
children | 45195b132e80 |
line diff
1.1 --- a/bash/receipt Sun Jan 01 17:02:35 2017 +0000 1.2 +++ b/bash/receipt Tue Feb 14 12:11:41 2017 +0100 1.3 @@ -24,10 +24,11 @@ 1.4 patch_bash() 1.5 { 1.6 for i in $BASHPATCHES ; do 1.7 - [ -s "$SOURCES_REPOSITORY/$i" ] || 1.8 + if [ ! -s "$SOURCES_REPOSITORY/$i" ]; then 1.9 echo "Downloading $i" 1.10 busybox wget -O "$SOURCES_REPOSITORY/$i" \ 1.11 http://ftp.gnu.org/gnu/bash/bash-$BASEVERSION-patches/$i 1.12 + fi 1.13 echo "Apply $i ..." 1.14 patch -p0 < $SOURCES_REPOSITORY/$i 1.15 done