changeset 3:66a948a7792e draft

updated xml to set variables from R repo
author boris
date Thu, 06 Jun 2013 09:36:36 -0400
parents 8142434b2805
children 5df622f8147b
files tool_dependencies.xml
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tool_dependencies.xml	Wed Jun 05 15:22:27 2013 -0400
+++ b/tool_dependencies.xml	Thu Jun 06 09:36:36 2013 -0400
@@ -12,9 +12,10 @@
                     </repository>
                 </action>
                 <action type="make_directory">$INSTALL_DIR</action>
-                <action type="shell_command">export R_HOME=${R_HOME} &amp;&amp; export R_LIBS=${R_LIBS} &amp;&amp; R CMD INSTALL ape_3.0-8.tar.gz -l $INSTALL_DIR </action>
+                <action type="shell_command">R CMD INSTALL ape_3.0-8.tar.gz -l $INSTALL_DIR </action>
                 <action type="set_environment">
-                <environment_variable name="R_HOME" action="set_to">${R_HOME}</environment_variable>
+                <environment_variable name="R_HOME" action="set_to">$ENV[R_HOME]</environment_variable>
+                <environment_variable name="R_LIBS" action="set_to">$ENV[R_LIBS]</environment_variable>
                 <environment_variable name="R_LIBS" action="prepend_to">$INSTALL_DIR</environment_variable>
                 </action>
             </actions>