From caf470306948506df848ebdcc0246fac7aba1aab Mon Sep 17 00:00:00 2001 From: fdai7207 Date: Fri, 10 Feb 2023 21:45:48 +0100 Subject: [PATCH] fix a bug in the build-project.sh. --- build-project.sh | 4 ++- src/employeesCredentialsList.txt | 26 ---------------- src/employeesData.txt | 52 -------------------------------- 3 files changed, 3 insertions(+), 79 deletions(-) diff --git a/build-project.sh b/build-project.sh index 0f0b53a..837fe14 100755 --- a/build-project.sh +++ b/build-project.sh @@ -3,9 +3,11 @@ trap 'echo "Interrupted"; cp employeeLogin.c.bak employeeLogin.c; cp mainMenu.c.bak mainMenu.c; cp createEmployeeAccount.c.bak createEmployeeAccount.c; + cp _file_information.h.bak _file_information.h; rm employeeLogin.c.bak; rm mainMenu.c.bak; rm createEmployeeAccount.c.bak; + rm _file_information.h.bak; cd ..; rm -r build; exit' SIGINT @@ -44,7 +46,7 @@ for file in employeeLogin.c mainMenu.c createEmployeeAccount.c _file_information done # remove backups -for file in employeeLogin.c.bak mainMenu.c.bak createEmployeeAccount.c.bak _file_information.h.bak; do +for file in employeeLogin.c.bak mainMenu.c.bak createEmployeeAccount.c.bak _file_information.h.bak; do rm "$file" done diff --git a/src/employeesCredentialsList.txt b/src/employeesCredentialsList.txt index 8fb27cc..839287a 100644 --- a/src/employeesCredentialsList.txt +++ b/src/employeesCredentialsList.txt @@ -18,29 +18,3 @@ Shivam Schivam007fdlt3781 - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/employeesData.txt b/src/employeesData.txt index 2adbdff..ac19002 100644 --- a/src/employeesData.txt +++ b/src/employeesData.txt @@ -50,55 +50,3 @@ Phone number : +4918756871384 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -