From 92ed9237be8c42e09bf4e81d1587e36389060da4 Mon Sep 17 00:00:00 2001 From: Sinisa Veseli <sveseli@aps.anl.gov> Date: Wed, 1 Oct 2014 01:35:16 +0000 Subject: [PATCH] update setup --- setup.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup.sh b/setup.sh index bd290424..278e8e72 100644 --- a/setup.sh +++ b/setup.sh @@ -40,8 +40,12 @@ if [ -z $DM_SUPPORT_DIR ]; then fi if [ ! -d $DM_SUPPORT_DIR ]; then echo "ERROR: $DM_SUPPORT_DIR directory does not exist. Developers should point DM_SUPPORT_DIR to the desired area." + unset DM_SUPPORT return 1 +else + export DM_GLASSFISH_DIR=$DM_SUPPORT_DIR/glassfish/$DM_HOST_ARCH fi + export DM_HOST_ARCH=`uname | tr [A-Z] [a-z]`-`uname -m` # Add to path only if directory exists. -- GitLab