Skip to content
Snippets Groups Projects

better log messages

Merged Sylvester Joosten requested to merge update_install into master
1 file
+ 7
3
Compare changes
  • Side-by-side
  • Inline
+ 7
3
@@ -3,6 +3,8 @@
@@ -3,6 +3,8 @@
CONTAINER="jug_xl"
CONTAINER="jug_xl"
VERSION="3.0-stable"
VERSION="3.0-stable"
 
echo "Setting up development environment for eicweb/$CONTAINER:$VERSION"
 
## Simple setup script that installs the container
## Simple setup script that installs the container
## in your local environment under $PWD/local/lib
## in your local environment under $PWD/local/lib
## and creates a simple top-level launcher script
## and creates a simple top-level launcher script
@@ -28,7 +30,7 @@ else
@@ -28,7 +30,7 @@ else
exit 1
exit 1
fi
fi
fi
fi
echo "Found singularity at $SINGULARITY"
echo " - Found singularity at $SINGULARITY"
SIF=
SIF=
## check if we can just use cvmfs for the image
## check if we can just use cvmfs for the image
@@ -52,7 +54,7 @@ fi
@@ -52,7 +54,7 @@ fi
if [ -z $SIF -o ! -f $SIF ]; then
if [ -z $SIF -o ! -f $SIF ]; then
echo "ERROR: no singularity image found"
echo "ERROR: no singularity image found"
else
else
echo "Using ${CONTAINER} image: $SIF"
echo " - Deployed ${CONTAINER} image: $SIF"
fi
fi
## create a new top-level eic-shell launcher script
## create a new top-level eic-shell launcher script
@@ -64,4 +66,6 @@ $SINGULARITY run $SIF
@@ -64,4 +66,6 @@ $SINGULARITY run $SIF
EOF
EOF
chmod +x eic-shell
chmod +x eic-shell
echo "Created custom eic-shell excecutable"
echo " - Created custom eic-shell excecutable"
 
echo "Environment setup succesfull"
 
echo "You can start the development environment by running './eic-shell'"
Loading