From: Alfredo Deza Date: Fri, 5 Jun 2015 20:24:15 +0000 (-0400) Subject: use -eq to really tell if this is suse X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F77%2Fhead;p=ceph-build.git use -eq to really tell if this is suse Signed-off-by: Alfredo Deza --- diff --git a/ceph-build/build/build_rpm b/ceph-build/build/build_rpm index 87cb5e15..670bcc39 100644 --- a/ceph-build/build/build_rpm +++ b/ceph-build/build/build_rpm @@ -10,7 +10,7 @@ is_suse() { fi } -if [[ ! -f /etc/redhat-release && ! is_suse ]] ; then +if [[ ! -f /etc/redhat-release && is_suse -eq 0 ]] ; then exit 0 fi