From 12fa38a1fa44ed435631968f1a82bd24fc0e5dbc Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Wed, 22 Mar 2017 04:56:59 -0700 Subject: ebump: Add to setup.py, minor update to man page Update script to use VERSION like the other scripts --- bin/ebump | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/ebump b/bin/ebump index b129f85..a0d4d56 100755 --- a/bin/ebump +++ b/bin/ebump @@ -3,7 +3,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -__version__="0.1.1" __author__="Karl Trygve Kalleberg" __email__="" __description__="Ebuild version bumping tool" @@ -13,6 +12,8 @@ __description__="Ebuild version bumping tool" # a given ebuild and auxiliary files in the Portage tree. It is only # useful for Gentoo developers with CVS commit access. +VERSION="git" + die() { echo $1 >&2 exit -1 @@ -25,7 +26,7 @@ einfo() { } print_version() { - echo "${__description__}, v${__version__}" + echo "${__description__}, v${VERSION}" echo "Copyright (c) 2004 ${__author__} ${__email__}" echo "Copyright 1999-2010 Gentoo Foundation" echo "Distributed under the terms of the GNU General Public License v2" @@ -33,7 +34,7 @@ print_version() { print_usage() { echo "Usage: ebump foo<.ebuild>" - echo "Ebuild version bumping tool, v${__version__}" + echo "Ebuild version bumping tool, v${VERSION}" echo " -V|--version show version info" echo " -v|--verbose increase verbosity" echo " -q|--quiet turn off output" -- cgit v1.2.3-65-gdbad