lib/autobuild/import/tar.rb in autobuild-1.4.3 vs lib/autobuild/import/tar.rb in autobuild-1.4.4

- old
+ new

@@ -121,10 +121,10 @@ base_dir = File.dirname(package.srcdir) FileUtils.mkdir_p base_dir cmd = [ 'tar', "x#{TAR_OPTION[mode]}f", cachefile, '-C', base_dir ] - Subprocess.run(package.name, :import, *cmd) + Subprocess.run(package, :import, *cmd) if tardir File.mv File.join(base_dir, tardir), package.srcdir end rescue OpenURI::HTTPError