Skip to content

Commit

Permalink
Update compile.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcO Seers authored and MarcO Seers committed Jun 28, 2019
1 parent 9288b23 commit 8d9d7ef
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bin/compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,9 +260,9 @@ def run_mx_build():
path = os.path.join(BUILD_DIR, file_name)
if file_name != ".local":
if os.path.isdir(path):
shutil.rmtree(path)
#shutil.rmtree(path)
else:
os.unlink(path)
#os.unlink(path)

# zf = zipfile.ZipFile("/tmp/model.mda")
# try:
Expand Down Expand Up @@ -322,9 +322,9 @@ def set_up_nginx():
if is_source_push():
logging.info("source push detected")
run_mx_build()
for folder in ("mxbuild", "mono"):
path = os.path.join(DOT_LOCAL_LOCATION, folder)
shutil.rmtree(path, ignore_errors=True)
# # for folder in ("mxbuild", "mono"):
# # path = os.path.join(DOT_LOCAL_LOCATION, folder)
# shutil.rmtree(path, ignore_errors=True)
set_up_directory_structure()
set_up_java()
set_up_appdynamics()
Expand Down

0 comments on commit 8d9d7ef

Please sign in to comment.