Lines 43-50
Link Here
|
43 |
eerror "cannot read ${At}. Please check the permission and try again." |
43 |
eerror "cannot read ${At}. Please check the permission and try again." |
44 |
die |
44 |
die |
45 |
fi |
45 |
fi |
46 |
testExp=`echo -e "\0177\0105\0114\0106\0001\0001\0001"` |
46 |
testExp=`echo -e "\177\105\114\106\001\001\001"` |
47 |
startAt=`grep -aonm 1 ${testExp} ${DISTDIR}/${At} | cut -d: -f1` |
47 |
startAt=`grep -aonm 1 "${testExp}" ${DISTDIR}/${At} | cut -d: -f1` |
48 |
tail -n +${startAt} ${DISTDIR}/${At} > install.sfx |
48 |
tail -n +${startAt} ${DISTDIR}/${At} > install.sfx |
49 |
chmod +x install.sfx |
49 |
chmod +x install.sfx |
50 |
./install.sfx || die |
50 |
./install.sfx || die |