25
32
def extract_module_to_install_dir
26
33
delete_existing_installation_or_abort!
44
raise RuntimeError, "Cannot find the command 'gtar'. Make sure GNU tar is installed, and is in your PATH."
34
53
# grab the first directory
35
54
extracted = build_dir.children.detect { |c| c.directory? }
36
55
FileUtils.mv extracted, @module_dir