diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-11-17 17:45:02 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-11-17 17:45:02 +0000 |
commit | 80c60bf65cf0dda67e959d4d2ffc51e1c6cb94f8 (patch) | |
tree | 802046a1b53941cb15e325dd9685745aed4a0163 /baserockimport/exts/omnibus.to_chunk | |
parent | b6e8bd41bb45bc6d19b3fbde6618f648faced2a0 (diff) | |
download | import-80c60bf65cf0dda67e959d4d2ffc51e1c6cb94f8.tar.gz |
omnibus: Fix chaining to rubygems.to_chunk
Diffstat (limited to 'baserockimport/exts/omnibus.to_chunk')
-rwxr-xr-x | baserockimport/exts/omnibus.to_chunk | 4 |
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. |