Skip to content
Snippets Groups Projects
Commit 9f4b1e4b authored by Christian Boettcher's avatar Christian Boettcher
Browse files

dont set empty as default

parent a83f9810
Branches
Tags
No related merge requests found
Pipeline #119751 passed
......@@ -11,9 +11,9 @@ echo "DEBUG_1 $0 $1 $2 $3 $4 <secret> $6"
if [ -z ${1+x} ]; then NEW_DIR=`pwd`; else NEW_DIR=$1; fi
if [ -z ${2+x} ]; then API_URL=https://datacatalog.fz-juelich.de/; else API_URL=$2; fi
if [ -z ${3+x} ]; then SERVER_DOMAIN=datacatalog.fz-juelich.de; else SERVER_DOMAIN=$3; fi
if [ -z ${4+x} ]; then DATACATALOG_APISERVER_CLIENT_ID=""; else DATACATALOG_APISERVER_CLIENT_ID=$4; fi
if [ -z ${5+x} ]; then DATACATALOG_APISERVER_CLIENT_SECRET=""; else DATACATALOG_APISERVER_CLIENT_SECRET=$5; fi
if [ -z ${6+x} ]; then DATACATALOG_APISERVER_SERVER_METADATA_URL=""; else DATACATALOG_APISERVER_SERVER_METADATA_URL=$6; fi
DATACATALOG_APISERVER_CLIENT_ID="$4"
DATACATALOG_APISERVER_CLIENT_SECRET="$5"
DATACATALOG_APISERVER_SERVER_METADATA_URL="$6"
cd $NEW_DIR
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment