summaryrefslogtreecommitdiff
path: root/lib/talloc
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/talloc
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/talloc')
-rwxr-xr-xlib/talloc/release-script.sh3
1 files changed, 3 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