From ab7417c2864244fc360e6e37783feb72d8afadfe Mon Sep 17 00:00:00 2001 From: Ruslan Forostianov Date: Wed, 25 Nov 2015 16:07:10 +0100 Subject: [PATCH] Env. variable to specify the path to ts-data --- scripts/xnattotransmartlink/command.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/xnattotransmartlink/command.sh b/scripts/xnattotransmartlink/command.sh index e245568..884c5df 100755 --- a/scripts/xnattotransmartlink/command.sh +++ b/scripts/xnattotransmartlink/command.sh @@ -1,9 +1,10 @@ #!/bin/bash -export KETTLE_HOME="/home/transmart/transmart-data/samples/postgres/kettle-home/" +export TS_DATA="/home/transmart/transmart-data/" +export KETTLE_HOME="${TS_DATA}samples/postgres/kettle-home/" -sh "/home/jenkins/transmart-data/env/data-integration/kitchen.sh" \ +sh "${TS_DATA}env/data-integration/kitchen.sh" \ -norep=N \ --file="/home/transmart/transmart-data/env/tranSMART-ETL/Postgres/GPL-1.0/Kettle/Kettle-ETL/create_clinical_data.kjb" \ +-file="${TS_DATA}env/tranSMART-ETL/Postgres/GPL-1.0/Kettle/Kettle-ETL/create_clinical_data.kjb" \ -log=load_clinical_data.log \ -param:LOAD_TYPE=I \ -param:COLUMN_MAP_FILE=xnat.tmm \