aboutsummaryrefslogtreecommitdiff
path: root/src/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.py')
-rwxr-xr-xsrc/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.py b/src/main.py
index 2ed2e00..e9d83f4 100755
--- a/src/main.py
+++ b/src/main.py
@@ -36,11 +36,11 @@ def main():
if config.MINISHELL_MAKE or args.make:
try:
- print("========================================MAKE====================================")
+ print("{:=^{width}}".format("MAKE", width=config.TERM_COLS))
subprocess.run(["make", "--no-print-directory", "-C", config.MINISHELL_DIR],
check=True,
env={"MINISHELL_TEST_FLAGS": "-DMINISHELL_TEST", **os.environ})
- print("================================================================================")
+ print("=" * config.TERM_COLS)
except subprocess.CalledProcessError:
sys.exit(1)
if args.make: