Debug Jenkins 2
# both configure/make from scratch
# Jenkins - important variables
-C_UTILS=/tmp/exm-install/c-utils
-ADLB=/tmp/exm-install/lb
-TURBINE=/tmp/exm-install/turbine
+EXM_INSTALL=/tmp/exm-install
+C_UTILS=$EXM_INSTALL/c-utils
+ADLB=$EXM_INSTALL/lb
+TURBINE=$EXM_INSTALL/turbine
PATH=${PATH}:$TURBINE/bin
rm -rf autom4te.cache
./bootstrap
-set -x
-
-ls /tmp/exm-install
-ls /tmp/exm-install/c-utils
+for D in $EXM_INSTALL $C_UTILS $ADLB
+do
+ if ! [[ -d $D ]]
+ then
+ echo "Directory not found: $D"
+ return 1
+ fi
+done
./configure --prefix=$TURBINE \
--with-tcl=/usr \
