Index: infra/bots/assets/asset_utils.py |
diff --git a/infra/bots/assets/asset_utils.py b/infra/bots/assets/asset_utils.py |
index a13d2290a3cf5baf6fdd9c0c96dd3bfaba83bcbf..377cc8fe2965ce1179ff312f1255e6ca0cdeaaf8 100644 |
--- a/infra/bots/assets/asset_utils.py |
+++ b/infra/bots/assets/asset_utils.py |
@@ -16,10 +16,8 @@ import shutil |
import subprocess |
import sys |
-SKIA_DIR = os.path.abspath(os.path.realpath(os.path.join( |
- os.path.dirname(os.path.abspath(__file__)), |
- os.pardir, os.pardir, os.pardir))) |
-INFRA_BOTS_DIR = os.path.join(SKIA_DIR, 'infra', 'bots') |
+INFRA_BOTS_DIR = os.path.abspath(os.path.realpath(os.path.join( |
+ os.path.dirname(os.path.abspath(__file__)), os.pardir))) |
sys.path.insert(0, INFRA_BOTS_DIR) |
import utils |
import zip_utils |
@@ -29,6 +27,7 @@ ASSETS_DIR = os.path.join(INFRA_BOTS_DIR, 'assets') |
DEFAULT_GS_BUCKET = 'skia-buildbots' |
GS_SUBDIR_TMPL = 'gs://%s/assets/%s' |
GS_PATH_TMPL = '%s/%s.zip' |
+SKIA_DIR = os.path.abspath(os.path.join(INFRA_BOTS_DIR, os.pardir, os.pardir)) |
VERSION_FILENAME = 'VERSION' |
ZIP_BLACKLIST = ['.git', '.svn', '*.pyc', '.DS_STORE'] |