Skip to content
Snippets Groups Projects
Commit a5109a8a authored by Ulrich Schwickerath's avatar Ulrich Schwickerath
Browse files

ddb script bug fixes

parent f0732114
No related branches found
No related tags found
1 merge request!23Darwin patches
#!/bin/bash -x
#
if [ "x{$DELPHI_DDB_DIR}" = "x" ];then
if [ "x${DELPHI_DDB_DIR}" = "x" ];then
export DELPHI_DDB_DIR=`pwd`/ddb
echo "$DELPHI_DDB_DIR not set. Installing here."
else
export $DELPHI_DDB_DIR
export DELPHI_DDB_DIR
fi
# checkout the code from gitlab
......@@ -14,6 +14,7 @@ if [ ! -e $DELPHI_DDB_DIR ]; then
echo "Installing ddb stuff in $DELPHI_DDB_DIR"
cd $DELPHI_DDB_DIR
git clone https://:@gitlab.cern.ch:8443/delphi/database.git
# cd database; git checkout darwin; cd ..
mv database/* .
rm -rf database/.git
rmdir database
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment