diff tool_dependencies.xml @ 7:2312bedfe2a3 draft

Uploaded
author yhoogstrate
date Wed, 19 Nov 2014 10:07:59 -0500
parents fae19d64e9de
children 1a288d568ac1
line wrap: on
line diff
--- a/tool_dependencies.xml	Thu Nov 13 09:46:22 2014 -0500
+++ b/tool_dependencies.xml	Wed Nov 19 10:07:59 2014 -0500
@@ -22,24 +22,13 @@
 	<package name="featurecounts2bed" version="1.0.0">
 		<install version="1.0">
 			<actions>
-				<action type="move_file">
-					<source>$REPOSITORY_INSTALL_DIR/featurecounts2bed.sh</source>
-					<destination>$INSTALL_DIR/bin/</destination>
-				</action>
-				<!--
-				Revert to the previous if the move command doesn't work
-				
-				<action type="shell_command">wget http://testtoolshed.g2.bx.psu.edu/repos/yhoogstrate/featurecounts/raw-file/tip/featurecounts2bed.sh &amp;&amp; chmod 755 *.sh</action>
-				<action type="move_file">
-					<source>../featurecounts2bed.sh</source>
-					<destination>$INSTALL_DIR/bin</destination>
-				</action>
-				-->
+				<action type="shell_command">mkdir $INSTALL_DIR/bin ; cp $REPOSITORY_INSTALL_DIR/featurecounts2bed.sh $INSTALL_DIR/bin/</action>
 				<action type="chmod">
-					<file mode="555">$INSTALL_DIR/bin/featurecounts2bed.sh</file>
+					<file mode="755">$INSTALL_DIR/bin/featurecounts2bed.sh</file>
 				</action>
 				<action type="set_environment">
 					<environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
+					<environment_variable name="PATH" action="prepend_to">$REPOSITORY_INSTALL_DIR</environment_variable>
 				</action>
 			</actions>
 		</install>