From 74b3798652f65fbbbe94b9aac2cb4f0fb8ccea09 Mon Sep 17 00:00:00 2001 From: JF Bastien Date: Sat, 16 Jan 2016 20:08:36 -0800 Subject: Make the untar API more intuitive As discussed in #112. --- update.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'update.py') diff --git a/update.py b/update.py index d224c74b2..c0d14411c 100755 --- a/update.py +++ b/update.py @@ -25,7 +25,6 @@ import scripts.support BASE_DIR = os.path.abspath('test') REVISION_PATH = os.path.join(BASE_DIR, 'revision') TORTURE_TAR = 'wasm-torture-s-%s.tbz2' -TORTURE_DIR = os.path.join(BASE_DIR, 'torture-s') def write_revision(revision): @@ -43,7 +42,7 @@ def run(force_latest, override_hash): revision = (override_hash if override_hash else scripts.storage.download_revision(force_latest=force_latest)) downloaded = scripts.storage.download_tar(TORTURE_TAR, BASE_DIR, revision) - updates += scripts.support.untar(downloaded, TORTURE_DIR) + updates += scripts.support.untar(downloaded, BASE_DIR) if updates: # Only update revision if the files it downloaded are different. print 'Updating revision to', revision -- cgit v1.2.3