]> git.apps.os.sepia.ceph.com Git - autobuild-ceph.git/commitdiff
use-mirror.sh: no mirror if /srv/autobuild-ceph/no-mirror exists
authorSage Weil <sage@redhat.com>
Wed, 2 Sep 2015 20:52:21 +0000 (16:52 -0400)
committerSage Weil <sage@redhat.com>
Wed, 2 Sep 2015 20:52:21 +0000 (16:52 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
use-mirror.sh

index 6432d9d1bbc6ce21f7faf0bb1deb854f349b349a..558fcc6e3f7eecbe9389d729b10176cbdc7a9a42 100755 (executable)
@@ -1,6 +1,7 @@
-
 #!/bin/sh -x
 
+[ -e /srv/autobuild-ceph/no-mirror ] && exit 0
+
 # Change URL's of submodules.
 
 build=$(pwd)