diff options
Diffstat (limited to 'commit.sh')
-rwxr-xr-x | commit.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/commit.sh b/commit.sh new file mode 100755 index 00000000000..26318959d64 --- /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"' "$@" |