[Synfig-devl] Konstantin Dmitriev : Detect branch better. Don' t forget to clean autorevision.h in core.
Module: synfig Branch: zelgadis_master Commit: 7abc6b3d3dbdb12d39d6e6f337fa20a20d320516 URL: http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=7abc6b3d3dbdb12d39d6e6f337fa20a20d320516 Author: Konstantin Dmitriev Date: Sat Jul 25 10:08:58 2009 +0700 Detect branch better. Don't forget to clean autorevision.h in core. --- synfig-core/trunk/build_tools/autorevision.sh |4 ++-- synfig-studio/trunk/build_tools/autorevision.sh |2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/synfig-core/trunk/build_tools/autorevision.sh b/synfig-core/trunk/build_tools/autorevision.sh index c7a1919..c8f4cf2 100644 --- a/synfig-core/trunk/build_tools/autorevision.sh +++ b/synfig-core/trunk/build_tools/autorevision.sh @@ -22,7 +22,7 @@ get_git_id(){ BRANCH='master' else BRANCH=`echo $BRANCH | cut -d ' ' -f 1` - BRANCH=${BRANCH#*/} + BRANCH=${BRANCH##*/} fi export REVISION=`git show --pretty=format:%ci HEAD | head -c 10 | tr -d '-'` export COMPARE=`git rev-parse --git-dir` @@ -103,5 +103,5 @@ fi # Output the header if [ x != "x$DEVEL_VERSION" ] ; then - printf "#define DEVEL_VERSION \"$DEVEL_VERSION\"\n" >> "$HEADER" + printf "#define DEVEL_VERSION \"$DEVEL_VERSION\"\n" > "$HEADER" fi diff --git a/synfig-studio/trunk/build_tools/autorevision.sh b/synfig-studio/trunk/build_tools/autorevision.sh index de4a5b6..d8a5c8b 100644 --- a/synfig-studio/trunk/build_tools/autorevision.sh +++ b/synfig-studio/trunk/build_tools/autorevision.sh @@ -22,7 +22,7 @@ get_git_id(){ BRANCH='master' else BRANCH=`echo $BRANCH | cut -d ' ' -f 1` - BRANCH=${BRANCH#*/} + BRANCH=${BRANCH##*/} fi export REVISION=`git show --pretty=format:%ci HEAD | head -c 10 | tr -d '-'` export COMPARE=`git rev-parse --git-dir` -- ___ Synfig-devl mailing list Synfig-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synfig-devl
[Synfig-devl] Konstantin Dmitriev : Detect branch better. Don' t forget to clean autorevision.h in core.
Module: synfig Branch: morevna Commit: 7abc6b3d3dbdb12d39d6e6f337fa20a20d320516 URL: http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=7abc6b3d3dbdb12d39d6e6f337fa20a20d320516 Author: Konstantin Dmitriev Date: Sat Jul 25 10:08:58 2009 +0700 Detect branch better. Don't forget to clean autorevision.h in core. --- synfig-core/trunk/build_tools/autorevision.sh |4 ++-- synfig-studio/trunk/build_tools/autorevision.sh |2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/synfig-core/trunk/build_tools/autorevision.sh b/synfig-core/trunk/build_tools/autorevision.sh index c7a1919..c8f4cf2 100644 --- a/synfig-core/trunk/build_tools/autorevision.sh +++ b/synfig-core/trunk/build_tools/autorevision.sh @@ -22,7 +22,7 @@ get_git_id(){ BRANCH='master' else BRANCH=`echo $BRANCH | cut -d ' ' -f 1` - BRANCH=${BRANCH#*/} + BRANCH=${BRANCH##*/} fi export REVISION=`git show --pretty=format:%ci HEAD | head -c 10 | tr -d '-'` export COMPARE=`git rev-parse --git-dir` @@ -103,5 +103,5 @@ fi # Output the header if [ x != "x$DEVEL_VERSION" ] ; then - printf "#define DEVEL_VERSION \"$DEVEL_VERSION\"\n" >> "$HEADER" + printf "#define DEVEL_VERSION \"$DEVEL_VERSION\"\n" > "$HEADER" fi diff --git a/synfig-studio/trunk/build_tools/autorevision.sh b/synfig-studio/trunk/build_tools/autorevision.sh index de4a5b6..d8a5c8b 100644 --- a/synfig-studio/trunk/build_tools/autorevision.sh +++ b/synfig-studio/trunk/build_tools/autorevision.sh @@ -22,7 +22,7 @@ get_git_id(){ BRANCH='master' else BRANCH=`echo $BRANCH | cut -d ' ' -f 1` - BRANCH=${BRANCH#*/} + BRANCH=${BRANCH##*/} fi export REVISION=`git show --pretty=format:%ci HEAD | head -c 10 | tr -d '-'` export COMPARE=`git rev-parse --git-dir` -- ___ Synfig-devl mailing list Synfig-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synfig-devl
[Synfig-devl] Konstantin Dmitriev : Detect branch better. Don' t forget to clean autorevision.h in core.
Module: synfig Branch: genete_master Commit: 7abc6b3d3dbdb12d39d6e6f337fa20a20d320516 URL: http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=7abc6b3d3dbdb12d39d6e6f337fa20a20d320516 Author: Konstantin Dmitriev Date: Sat Jul 25 10:08:58 2009 +0700 Detect branch better. Don't forget to clean autorevision.h in core. --- synfig-core/trunk/build_tools/autorevision.sh |4 ++-- synfig-studio/trunk/build_tools/autorevision.sh |2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/synfig-core/trunk/build_tools/autorevision.sh b/synfig-core/trunk/build_tools/autorevision.sh index c7a1919..c8f4cf2 100644 --- a/synfig-core/trunk/build_tools/autorevision.sh +++ b/synfig-core/trunk/build_tools/autorevision.sh @@ -22,7 +22,7 @@ get_git_id(){ BRANCH='master' else BRANCH=`echo $BRANCH | cut -d ' ' -f 1` - BRANCH=${BRANCH#*/} + BRANCH=${BRANCH##*/} fi export REVISION=`git show --pretty=format:%ci HEAD | head -c 10 | tr -d '-'` export COMPARE=`git rev-parse --git-dir` @@ -103,5 +103,5 @@ fi # Output the header if [ x != "x$DEVEL_VERSION" ] ; then - printf "#define DEVEL_VERSION \"$DEVEL_VERSION\"\n" >> "$HEADER" + printf "#define DEVEL_VERSION \"$DEVEL_VERSION\"\n" > "$HEADER" fi diff --git a/synfig-studio/trunk/build_tools/autorevision.sh b/synfig-studio/trunk/build_tools/autorevision.sh index de4a5b6..d8a5c8b 100644 --- a/synfig-studio/trunk/build_tools/autorevision.sh +++ b/synfig-studio/trunk/build_tools/autorevision.sh @@ -22,7 +22,7 @@ get_git_id(){ BRANCH='master' else BRANCH=`echo $BRANCH | cut -d ' ' -f 1` - BRANCH=${BRANCH#*/} + BRANCH=${BRANCH##*/} fi export REVISION=`git show --pretty=format:%ci HEAD | head -c 10 | tr -d '-'` export COMPARE=`git rev-parse --git-dir` -- ___ Synfig-devl mailing list Synfig-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synfig-devl
[Synfig-devl] Konstantin Dmitriev : Detect branch better. Don' t forget to clean autorevision.h in core.
Module: synfig Branch: master Commit: 7abc6b3d3dbdb12d39d6e6f337fa20a20d320516 URL: http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=7abc6b3d3dbdb12d39d6e6f337fa20a20d320516 Author: Konstantin Dmitriev Date: Sat Jul 25 10:08:58 2009 +0700 Detect branch better. Don't forget to clean autorevision.h in core. --- synfig-core/trunk/build_tools/autorevision.sh |4 ++-- synfig-studio/trunk/build_tools/autorevision.sh |2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/synfig-core/trunk/build_tools/autorevision.sh b/synfig-core/trunk/build_tools/autorevision.sh index c7a1919..c8f4cf2 100644 --- a/synfig-core/trunk/build_tools/autorevision.sh +++ b/synfig-core/trunk/build_tools/autorevision.sh @@ -22,7 +22,7 @@ get_git_id(){ BRANCH='master' else BRANCH=`echo $BRANCH | cut -d ' ' -f 1` - BRANCH=${BRANCH#*/} + BRANCH=${BRANCH##*/} fi export REVISION=`git show --pretty=format:%ci HEAD | head -c 10 | tr -d '-'` export COMPARE=`git rev-parse --git-dir` @@ -103,5 +103,5 @@ fi # Output the header if [ x != "x$DEVEL_VERSION" ] ; then - printf "#define DEVEL_VERSION \"$DEVEL_VERSION\"\n" >> "$HEADER" + printf "#define DEVEL_VERSION \"$DEVEL_VERSION\"\n" > "$HEADER" fi diff --git a/synfig-studio/trunk/build_tools/autorevision.sh b/synfig-studio/trunk/build_tools/autorevision.sh index de4a5b6..d8a5c8b 100644 --- a/synfig-studio/trunk/build_tools/autorevision.sh +++ b/synfig-studio/trunk/build_tools/autorevision.sh @@ -22,7 +22,7 @@ get_git_id(){ BRANCH='master' else BRANCH=`echo $BRANCH | cut -d ' ' -f 1` - BRANCH=${BRANCH#*/} + BRANCH=${BRANCH##*/} fi export REVISION=`git show --pretty=format:%ci HEAD | head -c 10 | tr -d '-'` export COMPARE=`git rev-parse --git-dir` -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Synfig-devl mailing list Synfig-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synfig-devl