From 4239a7c5ed82401e9747d08af58ca0d28b0bf851 Mon Sep 17 00:00:00 2001
From: Markus Frank <markus.frank@cern.ch>
Date: Mon, 29 Aug 2016 11:20:10 +0000
Subject: [PATCH] Fix DDDB examples. On request move Position, Rotations and
 transformations back to Geometry namespace.

---
 examples/DDDB/scripts/extract_dddb.sh | 2 +-
 examples/DDDB/scripts/run_dddb.sh     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/DDDB/scripts/extract_dddb.sh b/examples/DDDB/scripts/extract_dddb.sh
index 5a1fabe4f..0ae10ea2a 100755
--- a/examples/DDDB/scripts/extract_dddb.sh
+++ b/examples/DDDB/scripts/extract_dddb.sh
@@ -18,7 +18,7 @@ echo "+ ------------------------------------------------------------------+";
 echo "|   Starting DDDB extraction from tar file                          |";
 echo "+ ------------------------------------------------------------------+";
 #
-if test -z "$USER"; then
+if test -n "$USER"; then
     target=/tmp/$USER;
 else
     target=/tmp;
diff --git a/examples/DDDB/scripts/run_dddb.sh b/examples/DDDB/scripts/run_dddb.sh
index c36cd2c62..b563e7f50 100755
--- a/examples/DDDB/scripts/run_dddb.sh
+++ b/examples/DDDB/scripts/run_dddb.sh
@@ -20,7 +20,7 @@ echo "|   Starting DDDB plugin executor....                               |";
 #echo "|                                                                   |";
 echo "+ ------------------------------------------------------------------+";
 #
-if test -z "$USER"; then
+if test -n "$USER"; then
     target=/tmp/$USER;
 else
     target=/tmp;
-- 
GitLab