Extracting BINs
I have a problem concerning a extracting a BIN using a script. I have followed the instructions found here: http://java.sun.com/products/archive...all-linux.html
for installing the Self-Extracting file. My script looks like this: (well a small part anyway, the whole thing is around 220 lines) Code:
cp j2sdk-1_4_2_06-linux-i586.bin /usr/java Is there anyway I can force it to extract to the correct directory without changing directories in my script? Thanks in advance. |
I believe there is a simple way.
Quote:
cp j2sdk-1_4_2_06-linux-i586.bin /usr/java cd /usr/java /usr/java/./j2sdk-1_4_2_06-linux-i586.bin bash should then change to /usr/java before executing the last line. |
All times are GMT -5. The time now is 05:57 AM. |