]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
validate_rpm: reuse rpm validation from another project
authorKyr Shatskyy <kyrylo.shatskyy@suse.com>
Wed, 14 Aug 2019 17:06:21 +0000 (19:06 +0200)
committerKyr Shatskyy <kyrylo.shatskyy@suse.com>
Fri, 16 Aug 2019 01:05:19 +0000 (03:05 +0200)
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
ceph-dev-new-build/build/validate_deb [changed from file to symlink]
ceph-dev-new-build/build/validate_rpm [changed from file to symlink]

deleted file mode 100644 (file)
index 0322b47a8899131fbf55f0b7969167bfa9c269ab..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-set -ex
-
-# Only do actual work when we are a DEB distro
-if test -f /etc/redhat-release ; then
-    exit 0
-fi
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..9be9f0db08a7452790391237a56f98d6b8eb05e3
--- /dev/null
@@ -0,0 +1 @@
+../../ceph-dev-build/build/validate_deb
\ No newline at end of file
deleted file mode 100644 (file)
index 17b41482618cfaec601e530e41b5b18458d775a9..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-set -ex
-
-# only do work if we are a RPM distro
-if [[ ! -f /etc/redhat-release && ! -f /usr/bin/zypper ]] ; then
-    exit 0
-fi
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..0ca6cafe851895d96a0853294aa4b41916847a3f
--- /dev/null
@@ -0,0 +1 @@
+../../ceph-dev-build/build/validate_rpm
\ No newline at end of file