summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/talloc/release-script.sh3
-rwxr-xr-xlib/tdb/release-script.sh3
2 files changed, 6 insertions, 0 deletions
diff --git a/lib/talloc/release-script.sh b/lib/talloc/release-script.sh
index 7ec47b7ee1..6b6c0e7aad 100755
--- a/lib/talloc/release-script.sh
+++ b/lib/talloc/release-script.sh
@@ -10,6 +10,9 @@ if [ ! -d "lib/talloc" ]; then
exit 1
fi
+git clean -f -x -d lib/talloc
+git clean -f -x -d lib/replace
+
curbranch=`git-branch |grep "^*" | tr -d "* "`
version=$1
diff --git a/lib/tdb/release-script.sh b/lib/tdb/release-script.sh
index 95d4238657..ddeb753b97 100755
--- a/lib/tdb/release-script.sh
+++ b/lib/tdb/release-script.sh
@@ -10,6 +10,9 @@ if [ ! -d "lib/tdb" ]; then
exit 1
fi
+git clean -f -x -d lib/tdb
+git clean -f -x -d lib/replace
+
curbranch=`git-branch |grep "^*" | tr -d "* "`
version=$1