bin/appbundle-updater in appbundle-updater-0.2.3 vs bin/appbundle-updater in appbundle-updater-0.2.4
- old
+ new
@@ -68,12 +68,10 @@
end
end
# our windows omnibus packages all are guaranteed to have tar
def extract_tgz_windows(file, destination = '.')
- Dir.chdir(app_dir) do
- run("tar xf #{file} --directory #{destination}")
- end
+ run("tar xf #{file} --directory #{destination}")
end
# pure ruby `tar xzf`, handles longlinks and directories ending in '/'
# (http://stackoverflow.com/a/31310593/506908)
def extract_tgz_unix(file, destination = '.')