mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix R env handling in fabric_util broken with 864f8f4.
Thanks BjoernGruening.
This commit is contained in:
@@ -409,7 +409,7 @@ def install_and_build_package( app, tool_dependency, actions_dict ):
|
||||
with lcd( current_dir ):
|
||||
with settings( warn_only=True ):
|
||||
for tarball_name in tarball_names:
|
||||
cmd = '''PATH=$PATH:$R_HOME/bin; export PATH; R_LIBS=$INSTALL_DIR; export R_LIBS; &&
|
||||
cmd = '''PATH=$PATH:$R_HOME/bin; export PATH; R_LIBS=$INSTALL_DIR; export R_LIBS;
|
||||
Rscript -e "install.packages(c('%s'),lib='$INSTALL_DIR', repos=NULL, dependencies=FALSE)"''' % ( str( tarball_name ) )
|
||||
cmd = install_environment.build_command( td_common_util.evaluate_template( cmd, install_dir ) )
|
||||
return_code = handle_command( app, tool_dependency, install_dir, cmd )
|
||||
|
||||
Reference in New Issue
Block a user