commit/galaxy-central: Dave Bouvier: Extend the make_directory action to create the specified directory under the current working directory if it is not prefixed with $INSTALL_DIR.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/56e6257ba73d/ Changeset: 56e6257ba73d User: Dave Bouvier Date: 2013-10-01 17:51:58 Summary: Extend the make_directory action to create the specified directory under the current working directory if it is not prefixed with $INSTALL_DIR. Affected #: 1 file diff -r 1d1084581b6219ee8ae7968c8109c8132e32a915 -r 56e6257ba73d599a86be2e7731134b398bc79ad7 lib/tool_shed/galaxy_install/tool_dependencies/fabric_util.py --- a/lib/tool_shed/galaxy_install/tool_dependencies/fabric_util.py +++ b/lib/tool_shed/galaxy_install/tool_dependencies/fabric_util.py @@ -272,7 +272,11 @@ with lcd( current_dir ): action_type, action_dict = action_tup if action_type == 'make_directory': - td_common_util.make_directory( full_path=action_dict[ 'full_path' ] ) + if os.path.isabs( action_dict[ 'full_path' ] ): + full_path = action_dict[ 'full_path' ] + else: + full_path = os.path.join( current_dir, action_dict[ 'full_path' ] ) + td_common_util.make_directory( full_path=full_path ) elif action_type == 'move_directory_files': td_common_util.move_directory_files( current_dir=current_dir, source_dir=os.path.join( action_dict[ 'source_directory' ] ), Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org