From: Sage Weil Date: Sat, 17 Oct 2015 13:08:22 +0000 (-0400) Subject: build-ceph-*: clean up build area before git clean X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=86be495ddd984d9cc17c92fbd9374efe01e4eab2;p=autobuild-ceph.git build-ceph-*: clean up build area before git clean A bad build put a bogus .git directory in the build area, which breaks git clean. Prevent that from happening in the future... Signed-off-by: Sage Weil --- diff --git a/build-ceph-deb-native.sh b/build-ceph-deb-native.sh index 59ba97b..c27ca16 100755 --- a/build-ceph-deb-native.sh +++ b/build-ceph-deb-native.sh @@ -1,6 +1,7 @@ #!/bin/sh -x set -e +rm -rf out~ git submodule foreach 'git clean -fdx && git reset --hard' rm -rf ceph-object-corpus rm -rf ceph-erasure-code-corpus diff --git a/build-ceph-rpm.sh b/build-ceph-rpm.sh index 068d903..ec81875 100755 --- a/build-ceph-rpm.sh +++ b/build-ceph-rpm.sh @@ -1,6 +1,7 @@ #!/bin/sh -x set -e +rm -rf rpmbuild git submodule foreach 'git clean -fdx && git reset --hard' rm -rf ceph-object-corpus rm -rf ceph-erasure-code-corpus