From: Alfredo Deza Date: Thu, 4 Jun 2015 17:04:17 +0000 (-0400) Subject: rpm script runs only in rpm systems X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F71%2Fhead;p=ceph-build.git rpm script runs only in rpm systems Signed-off-by: Alfredo Deza --- diff --git a/ceph-build/build/build_rpm b/ceph-build/build/build_rpm index e1c3f3ec..c2d11ab6 100644 --- a/ceph-build/build/build_rpm +++ b/ceph-build/build/build_rpm @@ -1,3 +1,8 @@ +# Run only in RPM based systems +if [ ! test -f /etc/redhat-release ] ; then + exit 0 +fi + export GNUPGHOME=/home/jenkins-build/build/gnupg.ceph-release/ export KEYID=17ED316D HOST=$(hostname --short)