Created
August 19, 2013 03:19
-
-
Save mpkocher/6265509 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use most recent gold build from SIV | |
function goldSeymour(){ | |
root=/mnt/secondary-siv/nightlytest/siv3 | |
changelist=`ls /home/UNIXHOME/secondarytest/gold_releases | sort -r | head -1 | egrep --only-match "^[0-9]*"` | |
seymour=${root}/smrtanalysis_${changelist} | |
if [ -d "${seymour}" ] | |
then | |
echo "Loading changelist ${changelist} with SEYMOUR_HOME=${seymour}" | |
export SEYMOUR_HOME=$seymour | |
source $SEYMOUR_HOME/etc/setup.sh | |
# this is optional | |
export PS1="[${changelist}]${PS1}" | |
else | |
echo "Unable to find ${seymour} from ${changelist}" | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment