summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2014-11-17 17:45:02 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2014-11-17 17:45:02 +0000
commit80c60bf65cf0dda67e959d4d2ffc51e1c6cb94f8 (patch)
tree802046a1b53941cb15e325dd9685745aed4a0163
parentb6e8bd41bb45bc6d19b3fbde6618f648faced2a0 (diff)
downloadimport-80c60bf65cf0dda67e959d4d2ffc51e1c6cb94f8.tar.gz
omnibus: Fix chaining to rubygems.to_chunk
-rwxr-xr-xbaserockimport/exts/omnibus.to_chunk4
1 files 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.