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.

This commit is contained in:
Daniel Blankenberg
2009-08-10 14:00:47 -04:00
parent 52d1bc065a
commit 481f69fb6f
+14 -2
View File
@@ -9,8 +9,20 @@ GALAXY=/galaxy/path
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."