summaryrefslogtreecommitdiffstats
path: root/commit.sh
diff options
context:
space:
mode:
authorVikas Gorur <vikas@zresearch.com>2009-02-18 17:36:07 +0530
committerVikas Gorur <vikas@zresearch.com>2009-02-18 17:36:07 +0530
commit77adf4cd648dce41f89469dd185deec6b6b53a0b (patch)
tree02e155a5753b398ee572b45793f889b538efab6b /commit.sh
parentf3b2e6580e5663292ee113c741343c8a43ee133f (diff)
Added all files
Diffstat (limited to 'commit.sh')
-rwxr-xr-xcommit.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/commit.sh b/commit.sh
new file mode 100755
index 0000000..2631895
--- /dev/null
+++ b/commit.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+export EDITOR="emacs"
+#TLA_REVISION=$(expr 1 + $(cat ./libglusterfs/src/revision.h | cut -f 8 -d '-' | sed -e 's/"//'))
+#sed -i "s/AC_INIT.*/AC_INIT([glusterfs],[2.0.0tla${TLA_REVISION}],[gluster-users@gluster.org])/g" ./configure.ac
+tla commit --write-revision ./libglusterfs/src/revision.h:'#define GLUSTERFS_REPOSITORY_REVISION "%s"' "$@"