From: Alfredo Deza Date: Thu, 4 Jun 2015 19:18:01 +0000 (-0400) Subject: check both redhat and suse, not OR X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F72%2Fhead;p=ceph-build.git check both redhat and suse, not OR Signed-off-by: Alfredo Deza --- diff --git a/ceph-build/build/build_rpm b/ceph-build/build/build_rpm index f5e9c1f3..1688d7be 100644 --- a/ceph-build/build/build_rpm +++ b/ceph-build/build/build_rpm @@ -7,7 +7,7 @@ is_suse() { fi } -if [[ ! -f /etc/redhat-release || ! is_suse ]] ; then +if [[ ! -f /etc/redhat-release && ! is_suse ]] ; then exit 0 fi