mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
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:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user