Adam Mercer
2012-11-19 17:09:03 UTC
Hi
For one of my projects I need to get the contents of
/etc/redhat-release during the configure process and assign the
contents to a variable. I'm currently using the following:
redhat_release=`cat /etc/redhat-release 2> /dev/null`
This works fine, but I was wondering if anyone had any better suggestions?
Cheers
Adam
For one of my projects I need to get the contents of
/etc/redhat-release during the configure process and assign the
contents to a variable. I'm currently using the following:
redhat_release=`cat /etc/redhat-release 2> /dev/null`
This works fine, but I was wondering if anyone had any better suggestions?
Cheers
Adam