]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
use -eq to really tell if this is suse 77/head
authorAlfredo Deza <adeza@redhat.com>
Fri, 5 Jun 2015 20:24:15 +0000 (16:24 -0400)
committerAlfredo Deza <adeza@redhat.com>
Fri, 5 Jun 2015 20:24:15 +0000 (16:24 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph-build/build/build_rpm

index 87cb5e15c9d91f5b4ecb06c60473c53615a10be6..670bcc399e788c9cb7b8d25c259a8497b0fd9bfb 100644 (file)
@@ -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