]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
check both redhat and suse, not OR 72/head
authorAlfredo Deza <adeza@redhat.com>
Thu, 4 Jun 2015 19:18:01 +0000 (15:18 -0400)
committerAlfredo Deza <adeza@redhat.com>
Fri, 5 Jun 2015 12:37:45 +0000 (08:37 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph-build/build/build_rpm

index f5e9c1f36f7c14c4c3014bb464fbd0381b1b0586..1688d7beba0fb276c13f053be16a0625b15a9877 100644 (file)
@@ -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