source: gs3-extensions/pharos-videois/trunk/setup.bash@ 21334

Last change on this file since 21334 was 21334, checked in by davidb, 13 years ago

setup.bash for new VideoIS extension

File size: 809 bytes
Line 
1
2
3if [ ! -z $PHAROSVIS_HOME ] ; then
4 echo ""
5 echo "*Your environment is already set up for Video Image Similarity Search"
6 return 0
7fi
8
9
10if [ ! -f "setup.bash" ] ; then
11 echo "You must source the script from within the VideoIS home directory"
12 return 1
13fi
14
15# Need to run this script from its own directory instead of whichever directory it may be called from
16thisdir=`pwd`
17taildir=${thisdir##*/}
18
19
20if [ -z $GSDL3SRCHOME ] ; then
21 cd ../..
22 source gs3-setup.sh
23 cd "$thisdir"
24fi
25
26export PHAROSVIS_SRC_HOME=`pwd`
27#export PHAROSVIS_HOME=$PHAROSVIS_SRC_HOME/web
28export PHAROSOS=$GSDLOS
29
30export PATH=$PHAROSVIS_SRC_HOME/bin/script:$PHAROSVIS_SRC_HOME/bin/$PHAROSOS:$PATH
31export GSDL3EXTS=$taildir:$GSDL3EXTS
32
33echo ""
34echo "+Your environment is now set up for Video Image Similarity Search"
35
36return 0
37
38
Note: See TracBrowser for help on using the repository browser.