diff --git a/.gitignore b/.gitignore index 99fb117..8d760b7 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,6 @@ tests/puppeteer/package.json tests/puppeteer/package-lock.json scripts/sdkjs_common/jsdoc/node_modules scripts/sdkjs_common/jsdoc/package-lock.json +tools/linux/python3/ +tools/linux/python3.tar.gz +tools/linux/sysroot/sysroot_ubuntu_1604 diff --git a/scripts/config.py b/scripts/config.py index 010f90d..756d75a 100644 --- a/scripts/config.py +++ b/scripts/config.py @@ -119,6 +119,8 @@ def parse(): os.mkdir(custom_sysroot) print("Unpacking...") base.cmd2('tar', ['-xf', dst_dir + '/sysroot_ubuntu_1604.tar.xz', '-C', dst_dir]) + if os.path.exists(dst_dir + '/sysroot_ubuntu_1604.tar.xz'): + os.remove(dst_dir + '/sysroot_ubuntu_1604.tar.xz') if not "arm64-toolchain-bin" in options: if not "custom-sysroot" in options: