Commit 1a82a466 authored by Wolf Behrenhoff's avatar Wolf Behrenhoff
Browse files

Shared SW area detection only works on EGEE - remove output on OSG

parent a78c654c
......@@ -412,16 +412,18 @@ then
fi
# Determine shared software area
echo "<h2>Shared Software Area</h2>"
echo "The software area $VO_CMS_SW_DIR is used by the following CEs:"
SHARED_PATH=$VO_CMS_SW_DIR/shared_sw_area
mkdir -p $SHARED_PATH
touch $SHARED_PATH/$ceHost
echo "<ul class=CMSSW_shared_areas>"
# list all files that have been modified/touched in the last 5 days
find $SHARED_PATH -mtime -5 -type f -printf '<li>%P</li>\n'
echo "</ul>"
if [ $isEGEE == 1 ] ; then
# Determine shared software area
echo "<h2>Shared Software Area</h2>"
echo "The software area $SW_DIR is used by the following CEs:"
SHARED_PATH=$SW_DIR/shared_sw_area
mkdir -p $SHARED_PATH
touch $SHARED_PATH/$ceHost
echo "<ul class=CMSSW_shared_areas>"
# list all files that have been modified/touched in the last 5 days
find $SHARED_PATH -mtime -5 -type f -printf '<li>%P</li>\n'
echo "</ul>"
fi
# Print out installed Generator Gridpacks
# We assume that they are stored in $CMS_PATH/slc4_ia32_gcc345/generatorData
......
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