Lines 67-73
Link Here
|
67 |
fi |
67 |
fi |
68 |
#Search for the ELF Header |
68 |
#Search for the ELF Header |
69 |
testExp=`echo -e "\177\105\114\106\001\001\001"` |
69 |
testExp=`echo -e "\177\105\114\106\001\001\001"` |
70 |
startAt=`grep -aonm 1 ${testExp} ${DISTDIR}/${At} | cut -d: -f1` |
70 |
grep -aonm 1 ${testExp} ${DISTDIR}/${At} > /tmp/javatmp |
|
|
71 |
startAt=`cut -d: -f1 /tmp/javatmp` |
71 |
tail -n +${startAt} ${DISTDIR}/${At} > install.sfx |
72 |
tail -n +${startAt} ${DISTDIR}/${At} > install.sfx |
72 |
chmod +x install.sfx |
73 |
chmod +x install.sfx |
73 |
./install.sfx || die |
74 |
./install.sfx || die |