From cbf32ad7f5bea3910721a481e93f5a942d18b245 Mon Sep 17 00:00:00 2001 From: Markus Frank <markus.frank@cern.ch> Date: Thu, 1 Sep 2016 08:44:18 +0000 Subject: [PATCH] Test untar. --- examples/DDDB/scripts/extract_dddb.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/DDDB/scripts/extract_dddb.sh b/examples/DDDB/scripts/extract_dddb.sh index af1065254..85c4b0364 100755 --- a/examples/DDDB/scripts/extract_dddb.sh +++ b/examples/DDDB/scripts/extract_dddb.sh @@ -77,10 +77,10 @@ if test -d ${target}/DDDB; then fi; echo "DDDB database is already extracted to ${target}. Nothing to do."; elif test ! -f ${source}; then - echo "DDDB database tar file $source is not present. [Installation FAILED]"; - echo "ls -laF /builds/CLICdp/DD4hep/examples/DDDB"; + echo "DDDB database tar file ${source} is not present. [Installation FAILED]"; + echo "Directory: /builds/CLICdp/DD4hep/examples/DDDB"; ls -laF /builds/CLICdp/DD4hep/examples/DDDB; - echo "ls -laF /builds/CLICdp/DD4hep/examples/DDDB/data"; + echo "Directory /builds/CLICdp/DD4hep/examples/DDDB/data"; ls -laF /builds/CLICdp/DD4hep/examples/DDDB/data; exit 2; # ENOENT else @@ -90,10 +90,10 @@ else exit 2; # ENOENT fi; cd ${target}; - echo "${target} : tar -xf $source"; - /bin/tar -xf $source; - /bin/ls -laF `dirname $source`; - /bin/ls -laF $target; + echo "${target} : tar -xf ${source}"; + `which tar` -xf ${source}; + #/bin/ls -laF `dirname $source`; + #/bin/ls -laF $target; fi; if test -f ${target}/DDDB/DDDB/lhcb.xml; then echo "DDDB Database successfully installed."; -- GitLab