about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCharadon <dev@iotib.net>2022-07-26 05:23:51 -0400
committerCharadon <dev@iotib.net>2022-07-26 05:23:51 -0400
commit3b26abf2c36a8097ec54eb25afe8f3030759ec29 (patch)
tree21a0e210faa596362c163d5b7f323a03c2045656
parentc554c86a6ae091b15f41b97b682f574477d4bdd4 (diff)
downloaddscip-3b26abf2c36a8097ec54eb25afe8f3030759ec29.tar.gz
Fixed issue where old output wasn't being removed. Leading to looooong outputs
-rwxr-xr-xconfig.sh1
-rwxr-xr-xdscip2
2 files changed, 3 insertions, 0 deletions
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 "################################################################################";