diff options
author | Simo Sorce <idra@samba.org> | 2009-06-17 14:14:31 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2009-06-17 14:18:03 -0400 |
commit | ac1d311e9cc47a45d55b781f5dd2cea8ee8936b3 (patch) | |
tree | 9c0b7da46f6e72f1b1ab84a22545f9f09c1309a6 /lib | |
parent | 86450bd59caf5ff08edf7fed3af0622e559569f5 (diff) | |
download | samba-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')
-rwxr-xr-x | lib/talloc/release-script.sh | 3 | ||||
-rwxr-xr-x | lib/tdb/release-script.sh | 3 |
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 |