From 504581e3081e63f13177f88f2aeee1368e8114f7 Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Thu, 27 Sep 2018 15:50:01 +1000 Subject: [PATCH] chore: fix out_dir usage in upload-index-json.py --- script/upload-index-json.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/script/upload-index-json.py b/script/upload-index-json.py index 658719b761ca..05c6f38466bd 100755 --- a/script/upload-index-json.py +++ b/script/upload-index-json.py @@ -5,12 +5,10 @@ import sys import urllib2 from lib.config import s3_config -from lib.util import s3put, scoped_cwd, safe_mkdir +from lib.util import s3put, scoped_cwd, safe_mkdir, get_out_dir -# TODO: Update this entire file to point at the correct file names in the out -# directory SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__))) -OUT_DIR = os.path.join(SOURCE_ROOT, 'out', 'D') +OUT_DIR = get_out_dir() BASE_URL = 'https://electron-metadumper.herokuapp.com/?version='