This repository was archived by the owner on Apr 9, 2019. It is now read-only.

Description
I get the following errormessage after applying the fix to adjust to Oracles website changes for 6u35:
rm -rf jdk1.6.0_35
binsize=$(wc -c jdk-6u35-linux-i586.bin | awk '{print $1}'); \
zipstart=$(unzip -ql jdk-6u35-linux-i586.bin 2>&1 >/dev/null | sed -n -e 's/.* \([0-9][0-9]*\) extra bytes.*/\1/p'); \
tail -c $(expr $binsize - $zipstart) jdk-6u35-linux-i586.bin > tmp-jdk.zip
expr: syntax error
tail: jdk-6u35-linux-i586.bin: invalid number of bytes
make: *** [unpack-i586-stamp] Fehler 1
dpkg-buildpackage: Fehler: debian/rules build gab Fehler-Exitstatus 2
^H^H23419's retcode: 2
success
Any ideas what's going wrong and how I can fix it? It used to work on this machine ...