mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 13:50:20 +08:00
Merged in BjoernGruening/galaxy-central-5/BjoernGruening/add-install_dir-to-perl5lib-and-path-bef-1410949639333 (pull request #499)
Add $INSTALL_DIR to PERL5LIB and PATH before starting to install libraries. A few packages need this in order to recognise previous installed packages.
This commit is contained in:
@@ -1105,6 +1105,8 @@ class SetupPerlEnvironment( Download, RecipeStep ):
|
||||
# If set to a true value then MakeMaker's prompt function will always
|
||||
# return the default without waiting for user input.
|
||||
cmd = '''PERL_MM_USE_DEFAULT=1; export PERL_MM_USE_DEFAULT; '''
|
||||
cmd += 'export PERL5LIB=$INSTALL_DIR/lib/perl5:$PERL5LIB;'
|
||||
cmd += 'export PATH=$INSTALL_DIR/bin:$PATH;'
|
||||
if perl_package.find( '://' ) != -1:
|
||||
# We assume a URL to a gem file.
|
||||
url = perl_package
|
||||
|
||||
Reference in New Issue
Block a user