Some versions of linux don't work

In el6 and el7 the term "shell" doesn't exist and the lines don't get executed properly thus causing the version and html docs build to fail.