# HG changeset patch # User Christopher Rogers # Date 1287631920 0 # Node ID 501d89e34aae4febc0d9a70dfc0bbe4984fcec93 # Parent 8ad8877e8d87f9a6f2553088f175dfe6f8bccd80 Fixed copying openjdk to source. Now it can be fully offline now. This good for source dvd. diff -r 8ad8877e8d87 -r 501d89e34aae icedtea6-jdk/receipt --- a/icedtea6-jdk/receipt Thu Oct 21 03:18:33 2010 +0000 +++ b/icedtea6-jdk/receipt Thu Oct 21 03:32:00 2010 +0000 @@ -50,7 +50,7 @@ mkdir drops sed -i -e 's/mkdir -p drops/true/' -e 's/ jar xf/ fastjar xf/' Makefile* [ -L /usr/bin/wget ] && tazpkg get-install wget --forced - for i in $JAXWS $JAXP $JAF $OPENJDK ; do + for i in $JAXWS $JAXP $JAF ; do if [ -f $SOURCES_REPOSITORY/$i ]; then cp $SOURCES_REPOSITORY/$i drops elif [ "$i" == "$JAXWS" ]; then @@ -62,11 +62,17 @@ elif [ "$i" == "$JAF" ]; then wget -O $SOURCES_REPOSITORY/$JAF --no-check-certificate "$WGETJAF/$JAF" cp $SOURCES_REPOSITORY/$JAF drops - elif [ "$i" == "$OPENJDK" ]; then + fi + + done + + for i in $OPENJDK ; do + if [ -f $SOURCES_REPOSITORY/$i ]; then + cp $SOURCES_REPOSITORY/$i . + else wget -O $SOURCES_REPOSITORY/$OPENJDK "$WGETOPENJDK/$OPENJDK" cp $SOURCES_REPOSITORY/$OPENJDK . fi - done [ -L /usr/bin/find ] && tazpkg get-install findutils --forced [ -L /usr/bin/diff ] && tazpkg get-install diffutils --forced