]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
radosgw-agent: update RPM conditional for RHEL or SUSE
authorKen Dreyer <kdreyer@redhat.com>
Fri, 5 Jun 2015 23:09:46 +0000 (17:09 -0600)
committerKen Dreyer <kdreyer@redhat.com>
Fri, 5 Jun 2015 23:09:46 +0000 (17:09 -0600)
We want to check *either* RHEL *or* SUSE.

Prior to this change, neither system was succeeding builds.

radosgw-agent/build/build

index 1cc9c878036ea19062c2acce230bd531431080e6..b40e1815f5fa29d70e80678964944ea19a3c42a8 100644 (file)
@@ -30,7 +30,7 @@ is_suse() {
     fi
 }
 
-if [[ -f /etc/redhat-release && is_suse -eq 1 ]] ; then
+if [[ -f /etc/redhat-release || is_suse -eq 1 ]] ; then
         rm -rf ./dist  # Remove any previous artifacts
         mkdir -p $WORKSPACE/dist/noarch
         mkdir -p $WORKSPACE/dist/SRPMS