Commit e21bf09a authored by Stefano Belforte's avatar Stefano Belforte
Browse files

look for middleware setup script

parent 69d06754
......@@ -115,9 +115,9 @@ if [ $isEGEE == 1 ]; then
ls -l ${GLITE_WMS_LOCATION}/etc/profile.d
ls -l $filetosource
set +x; echo "</pre>"
if [ -x "$filetosource" ]; then
if [ -r "$filetosource" ]; then
source "$filetosource" &>/dev/null
[ -x `which lcg-ls` ] && echo "<p><strong>lcg-ls found !</strong><p> as " `which lcg-ls`
[ -r `which lcg-ls` ] && echo "<p><strong>lcg-ls found !</strong><p> as " `which lcg-ls`
fi
fi
......
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