From 86be495ddd984d9cc17c92fbd9374efe01e4eab2 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sat, 17 Oct 2015 09:08:22 -0400 Subject: [PATCH] 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 --- build-ceph-deb-native.sh | 1 + build-ceph-rpm.sh | 1 + 2 files changed, 2 insertions(+) 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 -- 2.39.5