Changeset 91 for nutchez-0.1/bin/nutchez


Ignore:
Timestamp:
Jul 7, 2009, 3:40:58 PM (15 years ago)
Author:
waue
Message:

fix some bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nutchez-0.1/bin/nutchez

    r89 r91  
    77# begining ..
    88
    9 #bin=`dirname "$0"`
    10 #bin=`cd "$bin"; pwd`
    119
    1210#. "$bin"/nutchez-func.sh
    1311
     12  export JAVA_HOME=/usr/lib/jvm/java-6-sun
     13  export NUTCH_HOME=/opt/nutch
     14#  export HADOOP_HOME=/opt/nutch
    1415  export NUTCH_CONF_DIR=~/.nutchez/conf
    15   export HADOOP_CONF_DIR=~/.nutchez/conf
     16#  export HADOOP_CONF_DIR=~/.nutchez/conf
    1617  export NUTCH_LOG_DIR=~/.nutchez/log
    1718
    18 if [ $JAVA_HOME = "" ];then
    19   export JAVA_HOME=/usr/lib/jvm/java-6-sun
    20 fi
    2119
    22 #  export NUTCH_HOME=/opt/nutch
     20
    2321
    2422. /opt/nutch/bin/nutchez-func.sh
Note: See TracChangeset for help on using the changeset viewer.