Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • DM/dm-docs
  • hammonds/dm-docs
  • hparraga/dm-docs
3 results
Show changes
Showing
with 53 additions and 0 deletions
#!/bin/sh
# Invoke this script either with "all" or "daq" arguments.
usage() {
echo "Usage: $0 all|daq"
}
DM_SVN_URL=https://subversion.xray.aps.anl.gov/DataManagement
supportType=all
if [ ! -z "$1" ]; then
supportType=$1
fi
if [ $supportType != "all" -a $supportType != "daq" ]; then
usage
exit 1
fi
MY_DIR=`dirname $0` && cd $MY_DIR && MY_DIR=`pwd`
if [ -z "${DM_ROOT_DIR}" ]; then
DM_ROOT_DIR=$MY_DIR/..
fi
DM_SUPPORT_DIR=$DM_ROOT_DIR/../support
DM_DATA_DIR=$DM_ROOT_DIR/../data
execute() {
echo "Executing: $@"
eval "$@"
}
if [ ! -d $DM_SUPPORT_DIR ]; then
echo "Creating new DM support directory $DM_SUPPORT_DIR."
cd `dirname $DM_SUPPORT_DIR`
execute svn co $DM_SVN_URL/support support
fi
cd $DM_SUPPORT_DIR
execute svn update
execute $DM_SUPPORT_DIR/bin/clean_support_all.sh
execute $DM_SUPPORT_DIR/bin/install_support_${supportType}.sh
if [ ! -d $DM_DATA_DIR ]; then
echo "Creating data directory"
mkdir -p "$DM_DATA_DIR"
fi
#!/bin/sh
SVN_ROOT=https://subversion.xray.aps.anl.gov/DataManagement
svn ls $SVN_ROOT/releases
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.