details: http://www.bx.psu.edu/hg/galaxy/rev/c021935a25ac changeset: 2552:c021935a25ac user: Dan Blankenberg <dan@bx.psu.edu> date: Mon Aug 10 14:00:47 2009 -0400 description: Have update_ucsc.sh.sample add 'chrom' dir to tool-data/shared/ucsc as needed. This empty directory was lost from the repository in the svn to hg conversion. 1 file(s) affected in this change: cron/updateucsc.sh.sample diffs (26 lines): diff -r 5b405a43c406 -r c021935a25ac cron/updateucsc.sh.sample --- a/cron/updateucsc.sh.sample Mon Aug 10 11:53:28 2009 -0400 +++ b/cron/updateucsc.sh.sample Mon Aug 10 14:00:47 2009 -0400 @@ -9,8 +9,20 @@ export PYTHONPATH=${GALAXY}/lib # setup directories -mkdir ${GALAXY}/tool-data/shared/ucsc/new -mkdir ${GALAXY}/tool-data/shared/ucsc/chrom/new +echo "Creating required directories." +DIRS=" +${GALAXY}/tool-data/shared/ucsc/new +${GALAXY}/tool-data/shared/ucsc/chrom +${GALAXY}/tool-data/shared/ucsc/chrom/new +" +for dir in $DIRS; do + if [ ! -d $dir ]; then + echo "Creating $dir" + mkdir $dir + else + echo "$dir already exists, continuing." + fi +done date echo "Updating UCSC shared data tables."