From f1b05b7098ba448a0987bc61224d6616dad3ecde Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 24 Mar 2010 00:03:51 -0700 Subject: [PATCH] Don't use $Id or $Rev for version strings since that doesn't work with git. --- bin/etc-update | 2 +- bin/portageq | 2 +- pym/portage/__init__.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/etc-update b/bin/etc-update index 03fef8d18..d18afa33a 100755 --- a/bin/etc-update +++ b/bin/etc-update @@ -487,7 +487,7 @@ while [[ -n $1 ]] ; do case $1 in -d|--debug) SET_X=true;; -h|--help) usage;; - -V|--version) echo '$Id$'; exit 0;; + -V|--version) emerge --version ; exit 0;; *) usage 1 "Invalid option '$1'";; esac shift diff --git a/bin/portageq b/bin/portageq index 8d6c12e23..7f146aaf7 100755 --- a/bin/portageq +++ b/bin/portageq @@ -570,7 +570,7 @@ list_preserved_libs.uses_root = True def usage(argv): print(">>> Portage information query tool") - print(">>> $Id$") + print(">>> %s" % portage.VERSION) print(">>> Usage: portageq [