]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
rpm script runs only in rpm systems 71/head
authorAlfredo Deza <adeza@redhat.com>
Thu, 4 Jun 2015 17:04:17 +0000 (13:04 -0400)
committerAlfredo Deza <adeza@redhat.com>
Thu, 4 Jun 2015 17:04:17 +0000 (13:04 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph-build/build/build_rpm

index e1c3f3ec6a4f116a6aa0de6efa10c841e38d2831..c2d11ab68832f3316b2ccbeef6945e181298c3e5 100644 (file)
@@ -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)