X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f2ba19f987bfe7de245176e9fb4ea5e783564494..e2fe6c0e5c1c62a37e03519590c04a5186a2cc9b:/apps/workbench/app/controllers/actions_controller.rb diff --git a/apps/workbench/app/controllers/actions_controller.rb b/apps/workbench/app/controllers/actions_controller.rb index 17259e07de..59dcbb92bb 100644 --- a/apps/workbench/app/controllers/actions_controller.rb +++ b/apps/workbench/app/controllers/actions_controller.rb @@ -150,12 +150,7 @@ class ActionsController < ApplicationController files.each do |m| mt = chash[m[1]+m[2]].andand.manifest_text if not m[4].nil? and m[4].size > 1 - count = m[4].count('/') - if count > 1 - combined += arv_normalize mt, '--extract', ".#{m[4]}" - else - combined += arv_normalize mt, '--extract', m[4][1..-1] - end + combined += arv_normalize mt, '--extract', ".#{m[4]}" else combined += mt end