diff --git a/script/upload-symbols.py b/script/upload-symbols.py index 1e9b97365655..ca1a393339a4 100755 --- a/script/upload-symbols.py +++ b/script/upload-symbols.py @@ -32,9 +32,11 @@ def main(): for pdb in PDB_LIST: run_symstore(pdb, SYMBOLS_DIR, PRODUCT_NAME) files = glob.glob(SYMBOLS_DIR + '/*.pdb/*/*.pdb') - files = [f.lower() for f in files] else: files = glob.glob(SYMBOLS_DIR + '/*/*/*.sym') + # The symbol server needs lowercase paths, it will fail otherwise + # So lowercase all the file paths here + files = [f.lower() for f in files] bucket, access_key, secret_key = s3_config() upload_symbols(bucket, access_key, secret_key, files)