Reduce calls to lsb_release in lsg_os_id and atlas_os_id
Instead of calling lsb_release -i
and lsb_release -r
make only one
call with -ir
and parse the two output lines. Tested with the Athena project.
P.S.: These functions seem to do the exact same thing. Wonder if this code couldn't be centralized somewhere...