view galaxy-conf/galaxyToolRunner.sh @ 7:4fc118372ae7

Uploaded new version with fixes and broader support for interval files
author timpalpant
date Sun, 19 Feb 2012 01:54:28 -0500
parents 4b32ed5d4a1b
children eb53be9a09f4
line wrap: on
line source

#!/usr/bin/env bash

if [ $# -eq 0 ]
then
  echo "USAGE: galaxyToolRunner.sh APPNAME [ARGS]";
  exit;
fi

if [ "$1" = "list" ]
then
  find src/edu/unc/genomics/**/*.java -exec basename -s .java {} \;
fi

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
java -Dlog4j.configuration=log4j.properties -cp $DIR:$DIR/../build:$DIR/../dist/*:$DIR/../lib/* edu.unc.genomics."$@"