From a1479a87757fb5e9b48f3c8bb5dd9cc247406f1a Mon Sep 17 00:00:00 2001 From: "rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Mon, 19 Jul 2004 14:08:30 +0000 Subject: BUILD : 1.7.4 (264) BUGS : N/A NOTES : Switched to autoconf - try to commit part 1 git-svn-id: svn://svn.anope.org/anope/trunk@264 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@169 5417fbe8-f217-4b02-8779-1006273d7864 --- version.sh | 146 ------------------------------------------------------------- 1 file changed, 146 deletions(-) delete mode 100644 version.sh (limited to 'version.sh') diff --git a/version.sh b/version.sh deleted file mode 100644 index 0797f2339..000000000 --- a/version.sh +++ /dev/null @@ -1,146 +0,0 @@ -#!/bin/sh -# -# Build version string and increment Services build number. -# - -# Grab version information from the version control file. -CTRL="./version.log" -if [ -f $CTRL ] ; then - . $CTRL -else - echo "Error: Unable to find control file: $CTRL" - exit 0 -fi - -VERSION="${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}${VERSION_EXTRA} (${VERSION_BUILD})" - -if [ -f version.h ] ; then - BUILD=`fgrep '#define BUILD' version.h | sed 's/^#define BUILD.*"\([0-9]*\)".*$/\1/'` - BUILD=`expr $BUILD + 1 2>/dev/null` -else - BUILD=1 -fi -if [ ! "$BUILD" ] ; then - BUILD=1 -fi -cat >version.h <