diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-03-20 17:32:44 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-03-20 17:32:44 -0400 |
commit | 82352d02d6614e621a788d96136427140831dd9a (patch) | |
tree | cd3ec0c3b8eefa1e80ed4288e1061ec6d0d0bbe9 /gcc-config | |
parent | add a makefile (diff) | |
download | gcc-config-82352d02d6614e621a788d96136427140831dd9a.tar.gz gcc-config-82352d02d6614e621a788d96136427140831dd9a.tar.bz2 gcc-config-82352d02d6614e621a788d96136427140831dd9a.zip |
drop cvs tags
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'gcc-config')
-rwxr-xr-x | gcc-config | 13 |
1 files changed, 3 insertions, 10 deletions
@@ -1,7 +1,6 @@ #!/bin/bash # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.5.1,v 1.2 2012/03/15 01:16:44 vapier Exp $ # Format of /etc/env.d/gcc/: # config-TARGET: CURRENT=version for TARGET @@ -39,6 +38,8 @@ if ! type -P tac >/dev/null ; then tac() { ${SED} -e '1!G;h;$!d' "$@" ; } fi +PV="@PV@" +[[ ${PV} == @*@ ]] && PV="git" GENTOO_LIBDIR="@GENTOO_LIBDIR@" [[ ${GENTOO_LIBDIR} == @*@ ]] && GENTOO_LIBDIR="lib" @@ -647,15 +648,7 @@ for x in "$@" ; do usage 0 ;; -V|--version) - unset RCSfile Revision Date - rcsfile="$RCSfile: gcc-config-1.5.1,v $" - rcsfile=${rcsfile#: } - rcsfile=${rcsfile%,v*} - cvsrev="$Revision: 1.2 $" - cvsrev=${cvsrev#: } - cvsdate="$Date: 2012/03/15 01:16:44 $" - cvsdate=${cvsdate#: } - echo "${rcsfile} (r${cvsrev% *} @ ${cvsdate% *})" + echo "${argv0}: @PV@" exit 0 ;; -*) |