summaryrefslogtreecommitdiff
path: root/lib/tdb
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2009-06-17 14:14:31 -0400
committerSimo Sorce <idra@samba.org>2009-06-17 14:18:03 -0400
commitac1d311e9cc47a45d55b781f5dd2cea8ee8936b3 (patch)
tree9c0b7da46f6e72f1b1ab84a22545f9f09c1309a6 /lib/tdb
parent86450bd59caf5ff08edf7fed3af0622e559569f5 (diff)
downloadsamba-ac1d311e9cc47a45d55b781f5dd2cea8ee8936b3.tar.gz
samba-ac1d311e9cc47a45d55b781f5dd2cea8ee8936b3.tar.bz2
samba-ac1d311e9cc47a45d55b781f5dd2cea8ee8936b3.zip
fix release scripts to always git clean
This makes sure we do not include foreign object files or other build byproducts by mistake.
Diffstat (limited to 'lib/tdb')
-rwxr-xr-xlib/tdb/release-script.sh3
1 files changed, 3 insertions, 0 deletions
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