diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-03-24 00:03:51 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-03-24 00:03:51 -0700 |
commit | f1b05b7098ba448a0987bc61224d6616dad3ecde (patch) | |
tree | 69a819a39a9f72b5e59532ea014d5415724f88e7 /bin | |
parent | Use git (repo in current working directory) instead of svn. (diff) | |
download | portage-idfetch-f1b05b7098ba448a0987bc61224d6616dad3ecde.tar.gz portage-idfetch-f1b05b7098ba448a0987bc61224d6616dad3ecde.tar.bz2 portage-idfetch-f1b05b7098ba448a0987bc61224d6616dad3ecde.zip |
Don't use $Id or $Rev for version strings since that doesn't work with git.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/etc-update | 2 | ||||
-rwxr-xr-x | bin/portageq | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/etc-update b/bin/etc-update index 03fef8d1..d18afa33 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 8d6c12e2..7f146aaf 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 <command> [<option> ...]") print("") print("Available commands:") |