From 80c60bf65cf0dda67e959d4d2ffc51e1c6cb94f8 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Mon, 17 Nov 2014 17:45:02 +0000 Subject: omnibus: Fix chaining to rubygems.to_chunk --- baserockimport/exts/omnibus.to_chunk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/baserockimport/exts/omnibus.to_chunk b/baserockimport/exts/omnibus.to_chunk index 5e527a9..0c56ea2 100755 --- a/baserockimport/exts/omnibus.to_chunk +++ b/baserockimport/exts/omnibus.to_chunk @@ -51,8 +51,8 @@ class OmnibusChunkMorphologyGenerator < Importer::Base end def run_tool_capture_output(tool_name, *args) - scripts_dir = local_data_path('.') - tool_path = local_data_path(tool_name) + scripts_dir = File.dirname(__FILE__) + tool_path = File.join(scripts_dir, tool_name) # FIXME: something breaks when we try to share this FD, it's not # ideal that the subprocess doesn't log anything, though. -- cgit v1.2.1