removed unused build dir
This commit is contained in:
@@ -7,7 +7,6 @@ repos:
|
|||||||
basedir:
|
basedir:
|
||||||
repo: /tmp/www/alhp/
|
repo: /tmp/www/alhp/
|
||||||
svn2git: al_upstream/
|
svn2git: al_upstream/
|
||||||
build: build/
|
|
||||||
makepkg: /usr/share/devtools/makepkg-x86_64.conf
|
makepkg: /usr/share/devtools/makepkg-x86_64.conf
|
||||||
|
|
||||||
march:
|
march:
|
||||||
|
|||||||
@@ -200,12 +200,6 @@ if __name__ == '__main__':
|
|||||||
logging.error("Another instance is already running")
|
logging.error("Another instance is already running")
|
||||||
sys.exit(2)
|
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"]):
|
if not os.path.exists(config["basedir"]["repo"]):
|
||||||
pathlib.Path(config["basedir"]["repo"]).mkdir(parents=True, exist_ok=True)
|
pathlib.Path(config["basedir"]["repo"]).mkdir(parents=True, exist_ok=True)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user