home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2005 November
/
CDVD1105.ISO
/
LINUX
/
jb2006_linux
/
install_linux.sh
< prev
next >
Wrap
Linux/UNIX/POSIX Shell Script
|
2005-08-31
|
533b
|
24 lines
#!/bin/sh
echo Preparing JBuilder 2006 installation ...
reldir=`dirname $0`
TEMPDIR=$HOME/jb.install.vm
CDROOT=`cd $reldir; pwd`
export PATH=$PATH:$TEMPDIR/bin
if [ ! -d $TEMPDIR ];
then
mkdir $TEMPDIR;
fi
#Copy over JBuilder 2006 install into local tmp location
cp -prd $CDROOT/Disk1/InstData/Linux/jre/* $TEMPDIR
cp -f $CDROOT/install.jar $TEMPDIR
#Change to temporary directory
cd $TEMPDIR
#Execute JBuilder 2006 install launcher (spawned)
$TEMPDIR/bin/java -jar $TEMPDIR/install.jar cdroot=$CDROOT cleanupdir=$TEMPDIR &