From 998abf5879f7ecf0c2b7f4bacc46fc89b90f5098 Mon Sep 17 00:00:00 2001 From: Sinisa Veseli <sveseli@aps.anl.gov> Date: Wed, 1 Oct 2014 15:22:31 +0000 Subject: [PATCH] variable name change --- sbin/install_support.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sbin/install_support.sh b/sbin/install_support.sh index 209c1e56..f7a86bf6 100755 --- a/sbin/install_support.sh +++ b/sbin/install_support.sh @@ -6,22 +6,22 @@ MY_DIR=`dirname $0` && cd $MY_DIR && MY_DIR=`pwd` if [ -z "${DM_ROOT_DIR}" ]; then DM_ROOT_DIR=$MY_DIR/.. fi -DM_SUPPORT=$DM_ROOT_DIR/../support +DM_SUPPORT_DIR=$DM_ROOT_DIR/../support execute() { echo "Executing: $@" eval "$@" } -if [ ! -d $DM_SUPPORT ]; then - echo "Creating new DM support directory $DM_SUPPORT." - cd `dirname $DM_SUPPORT` +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 +cd $DM_SUPPORT_DIR execute svn update -execute $DM_SUPPORT/bin/clean_all.sh -execute $DM_SUPPORT/bin/install_all.sh +execute $DM_SUPPORT_DIR/bin/clean_all.sh +execute $DM_SUPPORT_DIR/bin/install_all.sh -- GitLab