wok rev 6894
Fixed copying openjdk to source. Now it can be fully offline now. This good for source dvd.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 21 03:32:00 2010 +0000 (2010-10-21) |
parents | 8ad8877e8d87 |
children | f09fc143d224 |
files | icedtea6-jdk/receipt |
line diff
1.1 --- a/icedtea6-jdk/receipt Thu Oct 21 03:18:33 2010 +0000 1.2 +++ b/icedtea6-jdk/receipt Thu Oct 21 03:32:00 2010 +0000 1.3 @@ -50,7 +50,7 @@ 1.4 mkdir drops 1.5 sed -i -e 's/mkdir -p drops/true/' -e 's/ jar xf/ fastjar xf/' Makefile* 1.6 [ -L /usr/bin/wget ] && tazpkg get-install wget --forced 1.7 - for i in $JAXWS $JAXP $JAF $OPENJDK ; do 1.8 + for i in $JAXWS $JAXP $JAF ; do 1.9 if [ -f $SOURCES_REPOSITORY/$i ]; then 1.10 cp $SOURCES_REPOSITORY/$i drops 1.11 elif [ "$i" == "$JAXWS" ]; then 1.12 @@ -62,11 +62,17 @@ 1.13 elif [ "$i" == "$JAF" ]; then 1.14 wget -O $SOURCES_REPOSITORY/$JAF --no-check-certificate "$WGETJAF/$JAF" 1.15 cp $SOURCES_REPOSITORY/$JAF drops 1.16 - elif [ "$i" == "$OPENJDK" ]; then 1.17 + fi 1.18 + 1.19 + done 1.20 + 1.21 + for i in $OPENJDK ; do 1.22 + if [ -f $SOURCES_REPOSITORY/$i ]; then 1.23 + cp $SOURCES_REPOSITORY/$i . 1.24 + else 1.25 wget -O $SOURCES_REPOSITORY/$OPENJDK "$WGETOPENJDK/$OPENJDK" 1.26 cp $SOURCES_REPOSITORY/$OPENJDK . 1.27 fi 1.28 - 1.29 done 1.30 [ -L /usr/bin/find ] && tazpkg get-install findutils --forced 1.31 [ -L /usr/bin/diff ] && tazpkg get-install diffutils --forced