diff options
author | Ralph Sennhauser <sera@gentoo.org> | 2013-02-10 15:30:45 +0000 |
---|---|---|
committer | Ralph Sennhauser <sera@gentoo.org> | 2013-02-10 15:30:45 +0000 |
commit | 4ecad279f7f7e84ae2e104748c5b5ff64e3ab44f (patch) | |
tree | c1ac1d5aede1879893d4f1b9e83c7b4f77b9969a /src/depend-java-query | |
parent | Merge testsuite2 into testsuite and use new ROOT support in EnvironmentManager (diff) | |
download | java-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-x | src/depend-java-query | 2 |
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" |