summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorfuzzyray <fuzzyray@gentoo.org>2009-05-21 01:57:59 +0000
committerfuzzyray <fuzzyray@gentoo.org>2009-05-21 01:57:59 +0000
commit8d37572fa5be96fe9638f88bb5baa6b521739182 (patch)
treec065e00ce28adc960c04b47ad0f0d25bf6eafa75 /bin
parent095ff3fdeeaa25df01080b145173bb447358207f (diff)
downloadgentoolkit-8d37572fa5be96fe9638f88bb5baa6b521739182.tar.gz
Change /etc/gentoolkit-version to /usr/share/gentoolkit/VERSION
svn path=/trunk/gentoolkit/; revision=651
Diffstat (limited to 'bin')
-rw-r--r--bin/eclean2
-rwxr-xr-xbin/epkginfo2
-rwxr-xr-xbin/euse2
-rw-r--r--bin/glsa-check2
4 files changed, 4 insertions, 4 deletions
diff --git a/bin/eclean b/bin/eclean
index 5497cf3..9953fa7 100644
--- a/bin/eclean
+++ b/bin/eclean
@@ -9,7 +9,7 @@ from __future__ import with_statement
# Meta:
__author__ = "Thomas de Grenier de Latour (tgl)"
__email__ = "degrenier@easyconnect.fr"
-__version__ = open('/etc/gentoolkit-version').read().strip()
+__version__ = open('/usr/share/gentoolkit/VERSION').read().strip()
__productname__ = "eclean"
__description__ = "A cleaning tool for Gentoo distfiles and binaries."
diff --git a/bin/epkginfo b/bin/epkginfo
index 313170a..b7d6f63 100755
--- a/bin/epkginfo
+++ b/bin/epkginfo
@@ -19,7 +19,7 @@ from xml.sax.handler import feature_namespaces
import portage
from portage.output import *
-version = open('/etc/gentoolkit-version').read().strip()
+version = open('/usr/share/gentoolkit/VERSION').read().strip()
def getvar(pkg, var):
file = open(pkg + ".ebuild")
diff --git a/bin/euse b/bin/euse
index df61e32..10f75b0 100755
--- a/bin/euse
+++ b/bin/euse
@@ -7,7 +7,7 @@
# Licensed under the GPL v2
PROGRAM_NAME=euse
-PROGRAM_VERSION=$(cat /etc/gentoolkit-version)
+PROGRAM_VERSION=$(cat /usr/share/gentoolkit/VERSION)
MAKE_CONF_PATH=/etc/make.conf
MAKE_GLOBALS_PATH=/etc/make.globals
diff --git a/bin/glsa-check b/bin/glsa-check
index 3c91d5e..c24ef23 100644
--- a/bin/glsa-check
+++ b/bin/glsa-check
@@ -21,7 +21,7 @@ from getopt import getopt, GetoptError
__program__ = "glsa-check"
__author__ = "Marius Mauch <genone@gentoo.org>"
-__version__ = open("/etc/gentoolkit-version").read().strip()
+__version__ = open("/usr/share/gentoolkit/VERSION").read().strip()
optionmap = [
["-l", "--list", "list all unapplied GLSA"],