details: http://www.bx.psu.edu/hg/galaxy/rev/24f195c617da changeset: 3150:24f195c617da user: Nate Coraor <nate@bx.psu.edu> date: Mon Dec 07 13:31:27 2009 -0500 description: Fix path to HYPHY in buildbot_setup.sh diffstat: buildbot_setup.sh | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diffs (39 lines): diff -r 17094e499e9b -r 24f195c617da buildbot_setup.sh --- a/buildbot_setup.sh Mon Dec 07 11:30:53 2009 -0500 +++ b/buildbot_setup.sh Mon Dec 07 13:31:27 2009 -0500 @@ -2,13 +2,22 @@ cd `dirname $0` +: ${HOSTTYPE:=`uname -m`} + +# link to HYPHY is arch-dependent +case "$OSTYPE" in + linux-gnu) + kernel=`uname -r | cut -f1,2 -d.` + HYPHY="/galaxy/software/linux$kernel-$HOSTTYPE/hyphy" + ;; +esac + LINKS=" /depot/data2/galaxy/alignseq.loc /depot/data2/galaxy/binned_scores.loc /depot/data2/galaxy/blastdb.loc /depot/data2/galaxy/bowtie_indices.loc /depot/data2/galaxy/encode_datasets.loc -/home/universe/linux-i686/HYPHY /depot/data2/galaxy/lastz_seqs.loc /depot/data2/galaxy/liftOver.loc /depot/data2/galaxy/maf_index.loc @@ -44,6 +53,11 @@ ln -sf $link tool-data done +if [ -d "$HYPHY" ]; then + echo "Linking $HYPHY" + ln -sf $HYPHY tool-data/HYPHY +fi + for sample in $SAMPLES; do file=`echo $sample | sed -e 's/\.sample$//'` echo "Copying $sample to $file"