From 21fa7aed49f16c1b7733311ac9244346f7b6be75 Mon Sep 17 00:00:00 2001
From: Sinisa Veseli <sveseli@aps.anl.gov>
Date: Thu, 30 Apr 2015 18:07:40 +0000
Subject: [PATCH] change run directory

---
 sbin/create_dm_db.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbin/create_dm_db.sh b/sbin/create_dm_db.sh
index b29eb7b8..a521c1ce 100755
--- a/sbin/create_dm_db.sh
+++ b/sbin/create_dm_db.sh
@@ -28,7 +28,7 @@ if [ -z "${DM_ROOT_DIR}" ]; then
     DM_ROOT_DIR=$MY_DIR/..
 fi
 DM_SQL_DIR=$DM_ROOT_DIR/db
-DM_RUN_DIR=$DM_ROOT_DIR/var/run
+DM_RUN_DIR=$DM_INSTALL_DIR/var/run
 DM_ENV_FILE=${DM_ROOT_DIR}/setup.sh
 if [ ! -f ${DM_ENV_FILE} ]; then
     echo "Environment file ${DM_ENV_FILE} does not exist." 
-- 
GitLab