From 7b91667414cd9f5c45072000f9446623a33a6e82 Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Sun, 21 Apr 2024 01:31:04 -0400 Subject: [PATCH] #10 Update Makefiles - Removed the client_dir var as it's not needed --- client/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/Makefile b/client/Makefile index 776d624..9f69c12 100644 --- a/client/Makefile +++ b/client/Makefile @@ -1,5 +1,4 @@ # Define variables -CLIENT_DIR := client OP25_DIR := op25 PDAB_DIR := discordAudioBot/pdab @@ -16,7 +15,7 @@ pre_flight_checks: exit 1; \ fi # Check if the working directory is 'client' and contains package.json - if [ ! -f "$(shell pwd)/$(CLIENT_DIR)/package.json" ]; then \ + if [ ! -f "$(shell pwd)/package.json" ]; then \ echo "Error: Please make sure the working directory is 'client' and contains package.json."; \ exit 1; \ fi