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/gjl | |
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/gjl')
-rwxr-xr-x | src/gjl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -48,7 +48,7 @@ def get_args(pkg): envlp = os.getenv('LD_LIBRARY_PATH') envjlp = os.getenv('JAVA_LIBRARY_PATH') - newlibrary = '/lib:/usr/lib' + newlibrary = manager.eprefix + '/lib:'+ manager.eprefix + '/usr/lib' if library: newlibrary = ':'.join((library, newlibrary)) if envjlp: @@ -102,7 +102,7 @@ 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) if not options.package: |