From 40870627989fa0cdd810b2a4727067e1caeff3cb Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Wed, 13 Aug 2014 20:08:07 +0800 Subject: [PATCH] Remove old symbols when generating symbols. --- script/create-dist.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/script/create-dist.py b/script/create-dist.py index 2a91fd927b6d..3c6be9af1e64 100755 --- a/script/create-dist.py +++ b/script/create-dist.py @@ -207,11 +207,13 @@ def download_libchromiumcontent_symbols(url): def create_symbols(): + directory = 'Atom-Shell.breakpad.syms' + rm_rf(os.path.join(OUT_DIR, directory)) + build = os.path.join(SOURCE_ROOT, 'script', 'build.py') subprocess.check_output([sys.executable, build, '-c', 'Release', '-t', 'atom_dump_symbols']) - directory = 'Atom-Shell.breakpad.syms' shutil.copytree(os.path.join(OUT_DIR, directory), os.path.join(DIST_DIR, directory), symlinks=True)