From f6166062692e3611c59ece6dec4aa6c1a359c6b3 Mon Sep 17 00:00:00 2001 From: Giovanni Harting <539@idlegandalf.com> Date: Wed, 12 Aug 2020 09:39:45 +0200 Subject: [PATCH] removed unused build dir --- config.yaml | 1 - master.py | 6 ------ 2 files changed, 7 deletions(-) diff --git a/config.yaml b/config.yaml index 27f0044..ff1ee31 100644 --- a/config.yaml +++ b/config.yaml @@ -7,7 +7,6 @@ repos: basedir: repo: /tmp/www/alhp/ svn2git: al_upstream/ - build: build/ makepkg: /usr/share/devtools/makepkg-x86_64.conf march: diff --git a/master.py b/master.py index 7e34dc5..535d9a0 100644 --- a/master.py +++ b/master.py @@ -200,12 +200,6 @@ if __name__ == '__main__': logging.error("Another instance is already running") sys.exit(2) - if os.path.exists(config["basedir"]["build"]): - shutil.rmtree(config["basedir"]["build"]) - - os.mkdir(config["basedir"]["build"]) - logging.debug("Build dir created") - if not os.path.exists(config["basedir"]["repo"]): pathlib.Path(config["basedir"]["repo"]).mkdir(parents=True, exist_ok=True)