changeset 21:a3b3ac6bb81c draft

Uploaded
author mzeidler
date Mon, 30 Sep 2013 12:11:42 -0400
parents ad06a6752350
children 300559917fd1
files tool_dependencies.xml
diffstat 1 files changed, 9 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/tool_dependencies.xml	Mon Sep 30 12:04:52 2013 -0400
+++ b/tool_dependencies.xml	Mon Sep 30 12:11:42 2013 -0400
@@ -81,16 +81,18 @@
         <install version="1.0">
             <actions>
                 <action type="shell_command">git clone -b jalview https://github.com/schelhorn/virana.git</action>
-                <action type="shell_command">mkdir $GALAXYROOT/tool-data/shared/jalview</action>
-                <action type="shell_command">mkdir $GALAXYROOT/tool-data/shared/jalview/lib</action>
+                <action type="shell_command">mkdir $INSTALL_DIR/lib</action>
                 <action type="move_file">
                          <source>jalview/jalview.jar</source>
-                         <destination>$GALAXYROOT/tool-data/shared/jalview</destination>
-                     </action>
-                     <action type="move_directory_files">
+                         <destination>$INSTALL_DIR</destination>
+                </action>
+                <action type="move_directory_files">
                          <source_directory>jalview/lib</source_directory>
-                         <destination_directory>$GALAXYROOT/tool-data/shared/jalview/lib</destination_directory>
-                     </action>
+                         <destination_directory>$INSTALL_DIR/lib</destination_directory>
+                </action>
+                <action type="set_environment">
+                    <environment_variable name="JALVIEW_DIR" action="set_to">$INSTALL_DIR</environment_variable>
+                </action>
             </actions>
         </install>
     </package>