From b57548caacd0e6f01a2395e118b1d4ca7bbdc282 Mon Sep 17 00:00:00 2001 From: scarab Date: Mon, 7 Jul 2008 12:29:37 +0000 Subject: - pridan prikaz svn_commit.sh ktery odesle vasi verzi patchu se spravnym config.h naprosto bezstarostne git-svn-id: http://opensvn.csie.org/tuxanci_ng@118 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- svn_commit.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 svn_commit.sh (limited to 'svn_commit.sh') diff --git a/svn_commit.sh b/svn_commit.sh new file mode 100755 index 0000000..1441474 --- /dev/null +++ b/svn_commit.sh @@ -0,0 +1,5 @@ +#!/bin/sh +svn up +REVIZE=$(( `svn info | grep Revision |awk -F ': ' '{print $2}'` + 1 )) +echo "#define TUXANCI_NG_VERSION \"svn${REVIZE}\"" > config.h +svn ci -- cgit v1.2.3