From a83d4ad1063343e6e971ec19d7d48897de0a3140 Mon Sep 17 00:00:00 2001 From: Karl Chen Date: Tue, 19 Aug 2003 21:49:42 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=2151 --- client/win/win_config.h | 6 +++--- set-version | 11 +++++++---- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/client/win/win_config.h b/client/win/win_config.h index 38302839d4..0cd24aa6df 100644 --- a/client/win/win_config.h +++ b/client/win/win_config.h @@ -1,4 +1,4 @@ #define MAJOR_VERSION 1 -#define MINOR_VERSION 11 -#define PACKAGE_VERSION "1.11" -#define VERSION "1.11" +#define MINOR_VERSION 12 +#define PACKAGE_VERSION "1.12" +#define VERSION "1.12" diff --git a/set-version b/set-version index 270edf865a..7b7ff4a60f 100755 --- a/set-version +++ b/set-version @@ -15,12 +15,15 @@ cmd() "$@" || die "couldn't $*" } -[ "$1" ] || die "syntax: set-version 1.42" +if [ "$1" ]; then + echo "Setting BOINC version to $1." -echo "Setting boinc version to $1." + cmd mv configure.ac configure.ac.old + cmd sed "s/^AC_INIT.*/AC_INIT(BOINC, $1)/" configure.ac.old > configure.ac +else + echo "Updating files for BOINC version (assuming you manually changed configure.ac)" +fi -cmd mv configure.ac configure.ac.old -cmd sed "s/^AC_INIT.*/AC_INIT(BOINC, $1)/" configure.ac.old > configure.ac cmd ./_autosetup -c cmd cd client cmd make win/win_config.h