Mercurial > repos > saskia-hiltemann > ireport
comparison iReport.sh @ 2:e8755431a0cd draft
fixed missing dependencies
author | saskia-hiltemann |
---|---|
date | Tue, 30 Sep 2014 09:47:14 -0400 |
parents | 440f4aa3db97 |
children | 4a6ebda2a3ae |
comparison
equal
deleted
inserted
replaced
1:440f4aa3db97 | 2:e8755431a0cd |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 repositorypath="/mnt/galaxyTools/shed_tools/toolshed.nbic.nl/repos/saskia-hiltemann/ireport/71dc132e9bb2/ireport" # TODO: dependency | 2 #repositorypath="/mnt/galaxyTools/shed_tools/toolshed.nbic.nl/repos/saskia-hiltemann/ireport/71dc132e9bb2/ireport" # TODO: dependency |
3 source "${repositorypath}/createHTML.sh" | 3 source "${repositorypath}/createHTML.sh" |
4 | 4 |
5 echo "allparams: $@" | 5 echo "allparams: $@" |
6 function usage() { echo "Oops!"; } | 6 function usage() { echo "Oops!"; } |
7 | 7 |
13 [ $# -eq 0 ] && usage | 13 [ $# -eq 0 ] && usage |
14 | 14 |
15 while [ $# -gt 0 ] | 15 while [ $# -gt 0 ] |
16 do | 16 do |
17 case "$1" in | 17 case "$1" in |
18 --toolpath) repositorypath=$2;shift;; | 18 --toolpath) repositorypath=$2;shift;; |
19 --galaxypath) galaxypath=$2;shift;; | 19 --galaxypath) galaxypath=$2;shift;; |
20 --minwidth) minwidth=$2;shift;; | 20 --minwidth) minwidth=$2;shift;; |
21 --tab) tabs+=",$2";shift;; | 21 --tab) tabs+=",$2";shift;; |
22 --item) items+=",$2";shift;; | 22 --item) items+=",$2";shift;; |
23 --htmlout) htmlout=$2;shift;; | 23 --htmlout) htmlout=$2;shift;; |
24 --label) title="$@";shift;; | 24 --label) title="$@";shift;; |