From: Frank Sweetser Date: Thu, 4 Mar 2010 21:03:15 +0000 (+0100) Subject: Fix CentOS detection in regression get-os script X-Git-Tag: Release-7.0.0~2109 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1676d534eec0f7af6215ff9aaa66b29a09f07c0f;p=bacula%2Fbacula Fix CentOS detection in regression get-os script --- diff --git a/regress/scripts/get-os b/regress/scripts/get-os index aaff2cd705..b14b788022 100755 --- a/regress/scripts/get-os +++ b/regress/scripts/get-os @@ -385,7 +385,7 @@ then DISTNAME=redhat elif test -f /etc/redhat-release then - if test `grep -q CentOS /etc/redhat-release` + if grep -q CentOS /etc/redhat-release then DISTNAME=centos else