about summary refs log tree commit diff stats
path: root/setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'setup.sh')
-rwxr-xr-xsetup.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/setup.sh b/setup.sh
index 391d828..92b1a8f 100755
--- a/setup.sh
+++ b/setup.sh
@@ -91,6 +91,10 @@ install_dscip() {
 	set -x
 	mkdir -p "$PROJECT_LOCATION"
 	PROJECT_LOCATION="$($REALPATH "$PROJECT_LOCATION")"
+	if [ ! "$TEMPLATE_DIR" = "" ];
+	then
+		TEMPLATE_DIR="$($REALPATH "$TEMPLATE_DIR")"
+	fi
 	cd "$PROJECT_LOCATION" || return 1
 	if [ -d "/usr/share/charadon/dscip" ]; # See if dscip is packaged/installed on system.
 	then