#!/bin/bash
#
# Configure package-jar location
# (the files compile.sh and run.sh will include this file)
# 
# $Author: bablokb $
# $Revision: 1.1 $
#
# License: GPL2
# -----------------------------------------------------------------------------

PACKAGE_HOME=/usr/local/velocity-1.4/

addjars() {
  for d in $@; do
    jars=`find $d -name "*.jar" -maxdepth 1`
    for f in $jars; do
      cp=$cp:$f
    done
  done
  CPATH=$cp:$CPATH
}

addjars $PACKAGE_HOME
