aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Sennhauser <sera@gentoo.org>2013-02-10 15:30:45 +0000
committerRalph Sennhauser <sera@gentoo.org>2013-02-10 15:30:45 +0000
commit4ecad279f7f7e84ae2e104748c5b5ff64e3ab44f (patch)
treec1ac1d5aede1879893d4f1b9e83c7b4f77b9969a /src/depend-java-query
parentMerge testsuite2 into testsuite and use new ROOT support in EnvironmentManager (diff)
downloadjava-config-4ecad279f7f7e84ae2e104748c5b5ff64e3ab44f.tar.gz
java-config-4ecad279f7f7e84ae2e104748c5b5ff64e3ab44f.tar.bz2
java-config-4ecad279f7f7e84ae2e104748c5b5ff64e3ab44f.zip
Make the scripts ROOT and EPREFIX aware
svn path=/projects/java-config-2/trunk/; revision=9191
Diffstat (limited to 'src/depend-java-query')
-rwxr-xr-xsrc/depend-java-query2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/depend-java-query b/src/depend-java-query
index 64f7b5d..0ac9eb6 100755
--- a/src/depend-java-query
+++ b/src/depend-java-query
@@ -65,7 +65,7 @@ def parse_depend_string(option, opt, value, parse):
if __name__ == '__main__':
global printer, manager, verman
printer = OutputFormatter(True, True)
- manager = EnvironmentManager()
+ manager = EnvironmentManager(os.getenv('ROOT', ''), os.getenv('EPREFIX', '@GENTOO_PORTAGE_EPREFIX@'))
verman = VersionManager(manager)
usage = "depend-java-query [options]\n\n"