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-5.0.2~174^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0ae6f620c70477e201c832fd0fb94a8cb7922123;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