Commit 2d5d0652 authored by Stefano Belforte's avatar Stefano Belforte
Browse files

better check

parent 533d9a9c
......@@ -40,9 +40,22 @@ echo \$maradonaFile = $maradonaFile
echo \$VO_CMS_SW_DIR = $VO_CMS_SW_DIR
ls -ld ${ce_application_dir}/
ls -ld ${ce_application_dir}/cms
ls -l ${ce_application_dir}/cmsset_default.sh
ls -l ${ce_application_dir}/cms/cmsset_default.sh
ls -l ${ce_application_dir}/lcg-jobwrapper-hook.sh
ls -l ${ce_application_dir}/cms/lcg-jobwrapper-hook.sh
if [ -f ${ce_application_dir}/cmsset_default.sh ] ; then
status=$SAME_OK
else
if [ -f ${ce_application_dir}/cms/cmsset_default.sh ] ; then
status=$SAME_WARNING
else
status=$SAME_ERROR
fi
fi
#cat $maradonaFile
......@@ -52,4 +65,4 @@ set +x
echo "</pre>"
exit $SAME_OK
exit $status
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