All pastes #759371 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-11-03 01:56 UTC
rendered paste body
DS_HOME=/export/home/docsearch
DS_BIN=$DS_HOME/bin/
DS_INCLUDE=$DS_HOME/include/
DS_SOLR=$DS_HOME/solr
DS_TMP=$DS_HOME/tmp
DS_DOCS=$DS_HOME/httpd-docs
DS_SRC=$DS_HOME/src/docsearch

export DS_HOME
export DS_BIN
export DS_INCLUDE
export DS_SOLR
export DS_TMP
export DS_DOCS
export DS_SRC


---------
ds-svn-up
---------
# Script to update to the latest docsearch tools, 
# and distribute it's files accordingly

svn up $DS_SRC
cp -f $DS_SRC/import.pl $DS_HOME
cp -f $DS_SRC/filesnotindexed $DS_HOME
cp -f $DS_SRC/solr/result.xslt $DS_SOLR/example/solr/conf/xslt/
cp -f $DS_SRC/solr/schema.xml $DS_SOLR/example/solr/conf/
cp -f $DS_SRC/solr/solrconfig.xml $DS_SOLR/example/solr/conf/
cp -f $DS_SRC/solr/solrconfig.xml $DS_HOME