Commit a90cf2b0 authored by Andrea Sciaba's avatar Andrea Sciaba
Browse files

Minor changes

parent 2f70c98b
...@@ -118,7 +118,7 @@ fi ...@@ -118,7 +118,7 @@ fi
# check for SL5 # check for SL5
echo echo
echo "Checking OS version from $SW_DIR/common/cmsos and architecture from $SW_DIR/common/cmsarch.." echo "Checking OS version from $SW_DIR/common/cmsos and architecture from $SW_DIR/common/cmsarch..."
echo echo
slVersion="unknown" slVersion="unknown"
if [ -f $SW_DIR/common/cmsos ] ; then if [ -f $SW_DIR/common/cmsos ] ; then
...@@ -154,8 +154,9 @@ fi ...@@ -154,8 +154,9 @@ fi
if [ $mw == 1 ] ; then if [ $mw == 1 ] ; then
echo "Middleware: $type $mwver" echo "Middleware: $type $mwver"
else else
echo "WARNING: Cannot find middleware type and version" echo "WARNING: Cannot find middleware stack type and version"
fi fi
echo
type -t lcg-cp > /dev/null type -t lcg-cp > /dev/null
result=$? result=$?
...@@ -169,7 +170,7 @@ else ...@@ -169,7 +170,7 @@ else
gfalver=`lcg-cp --version | grep GFAL-client | sed 's/GFAL-client-//'` gfalver=`lcg-cp --version | grep GFAL-client | sed 's/GFAL-client-//'`
echo "GFAL-client: $gfalver" echo "GFAL-client: $gfalver"
lver=(`echo $lcgutilver | awk -F . '{print $1*10000+$2*100+$3}'`) lver=(`echo $lcgutilver | awk -F . '{print $1*10000+$2*100+$3}'`)
echo -n "Minimum version of lcg-cp: 1.6.7... " echo -n "Minimum version of lcg-cp: 1.6.7: "
if [ $lver -ge 10607 ] ; then if [ $lver -ge 10607 ] ; then
echo "OK" echo "OK"
else else
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment