-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup-env.sh
executable file
·19 lines (17 loc) · 1.08 KB
/
setup-env.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
# set to the directory where the harvester was installed or unpacked
# HARVESTER_INSTALL_DIR is set to the location of the installed harvester
# If the deb file was used to install the harvester then the
# directory should be set to /usr/share/vivo/harvester which is the
# current location associated with the deb installation.
# Since it is also possible the harvester was installed by
# uncompressing the tar.gz the setting is available to be changed
# and should agree with the installation location
HARVESTER_INSTALL_DIR=/usr/local/src/VIVO-Harvester
# Add harvester binaries to path for execution
# The tools within this script refer to binaries supplied within the harvester
# Since they can be located in another directory their path should be
# included within the classpath and the path environment variables.
export PATH=$PATH:$HARVESTER_INSTALL_DIR/bin
export CLASSPATH=$CLASSPATH:$HARVESTER_INSTALL_DIR/bin/harvester.jar:$HARVESTER_INSTALL_DIR/bin/dependency/*
export CLASSPATH=$CLASSPATH:$HARVESTER_INSTALL_DIR/build/harvester.jar:$HARVESTER_INSTALL_DIR/build/dependency/*