From 01ce1fbae7daa73321e49dc5e23a8d50cd9f4c7f Mon Sep 17 00:00:00 2001
From: Amna <amna.snene@savoirfairelinux.com>
Date: Mon, 2 Oct 2023 15:21:46 -0400
Subject: [PATCH] build: update build.py

Change-Id: Iad7c8a51c467137cd397d9df6d7bce353e776f9b
---
 dependencies/build.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dependencies/build.py b/dependencies/build.py
index e21d816..c7c07bd 100755
--- a/dependencies/build.py
+++ b/dependencies/build.py
@@ -22,7 +22,7 @@ import os
 import logging
 
 # Configure the logging system
-logging.basicConfig(filename='install.log', level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
+logging.basicConfig(filename='install/install.log', level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
 
 # Define paths and directories
 opendht_dir = "opendht"
@@ -106,8 +106,6 @@ def build_and_install_restinio():
         subprocess.run(cmake_command, cwd=restino_build_dir, check=True)
         subprocess.run(["make", "-j8"], cwd=restino_build_dir, check=True)
         subprocess.run(["make", "install"], cwd=restino_build_dir, check=True)
-        # subprocess.run(["cd", "../.."], check=True)
-        # subprocess.run(["rm", "-rf", "restinio"], check=True)
 
         logging.info("restinio built and installed successfully.")
     except subprocess.CalledProcessError as e:
-- 
GitLab