Ignore:
Timestamp:
2010-06-03T10:34:12+12:00 (12 years ago)
Author:
davidb
Message:

Minor tweaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/open-office/trunk/COMPILE-INSTALL.sh

    r22204 r22229  
    66export JOD_CONVERTER=jodconverter-core-3.0-beta-3
    77
     8if [ "x$GEXTOPENOFFICE" != "x" ] ; then
    89
    9 if [ "x$GEXTOOFFICE" != "x" ] ; then
     10  javac -version
     11  if [ $? != 0 ] ; then
     12    echo "Unable to locate 'javac'"
     13    echo "Have you set JAVA_HOME and put JAVA_HOME/bin in your path?"
     14    exit
     15  fi
     16
    1017  echo Compiling Code
    1118
    12   pushd "$GEXTOOFFICE/build-srcpack/packages"
     19  pushd "$GEXTOPENOFFICE/build-srcpack/packages"
    1320
    1421  ./COMPILE-INSTALL.sh
     
    2431  echo ""
    2532  echo "Installing jodconverter.jar into lib/java"
    26   /bin/cp -r $GEXTOOFFICE/build-srcpack/packages/$JOD_CONVERTER/jodconverter.jar lib/java/.
     33  /bin/cp -r $GEXTOPENOFFICE/build-srcpack/packages/$JOD_CONVERTER/jodconverter.jar lib/java/.
    2734
    2835
    2936else
    30   echo "Error: Environment variable GEXTOOFICE is not set"
     37  echo "Error: Environment variable GEXTOPENOFICE is not set"
    3138fi
    3239
Note: See TracChangeset for help on using the changeset viewer.