home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 November / CDVD1105.ISO / LINUX / jb2006_linux / install_linux.sh < prev    next >
Linux/UNIX/POSIX Shell Script  |  2005-08-31  |  533b  |  24 lines

  1. #!/bin/sh
  2. echo Preparing JBuilder 2006 installation ...
  3.  
  4. reldir=`dirname $0`
  5. TEMPDIR=$HOME/jb.install.vm
  6. CDROOT=`cd $reldir; pwd`
  7. export PATH=$PATH:$TEMPDIR/bin
  8.  
  9. if [ ! -d $TEMPDIR ];
  10. then
  11.    mkdir $TEMPDIR;
  12. fi
  13.  
  14. #Copy over JBuilder 2006 install into local tmp location
  15. cp -prd $CDROOT/Disk1/InstData/Linux/jre/* $TEMPDIR
  16. cp -f $CDROOT/install.jar $TEMPDIR
  17.  
  18. #Change to temporary directory
  19. cd $TEMPDIR
  20.  
  21. #Execute JBuilder 2006 install launcher (spawned)
  22. $TEMPDIR/bin/java -jar $TEMPDIR/install.jar cdroot=$CDROOT cleanupdir=$TEMPDIR &
  23.  
  24.