From 3b26abf2c36a8097ec54eb25afe8f3030759ec29 Mon Sep 17 00:00:00 2001 From: Charadon Date: Tue, 26 Jul 2022 05:23:51 -0400 Subject: Fixed issue where old output wasn't being removed. Leading to looooong outputs --- config.sh | 1 + dscip | 2 ++ 2 files changed, 3 insertions(+) diff --git a/config.sh b/config.sh index b564913..8d19ad6 100755 --- a/config.sh +++ b/config.sh @@ -2,6 +2,7 @@ # Variables that control the program. # # GIT Repo # export DSCIP_GITREPO="https://www.example.com/example/example.git" +export DSCIP_NAME="Example" # GIT MODE: # # pull: Doesn't delete previous clone and just pulls changes. # # clone: Deletes previous clone, and creates a fresh clone. # diff --git a/dscip b/dscip index 64b3833..2b9e254 100755 --- a/dscip +++ b/dscip @@ -47,6 +47,8 @@ echo "$$" > "$WORKING_DIRECTORY/LOCK" build () { + # Remove old output + rm -f output.txt # Print variables # { echo "################################################################################"; -- cgit 1.4.1-2-gfad0