about summary refs log tree commit diff stats
path: root/dscip
diff options
context:
space:
mode:
Diffstat (limited to 'dscip')
-rwxr-xr-xdscip2
1 files changed, 2 insertions, 0 deletions
diff --git a/dscip b/dscip
index 2b9e254..d66be1f 100755
--- a/dscip
+++ b/dscip
@@ -100,6 +100,8 @@ run () {
 	mkdir -p "$WORKING_DIRECTORY"
 	cd "$WORKING_DIRECTORY"
 
+	LAST_COMMIT=""
+
 	# Loads last commit hash if it exists. # 
 	if [ -f "$WORKING_DIRECTORY/LAST_COMMIT" ]; then
 		LAST_COMMIT="$(cat "$WORKING_DIRECTORY/LAST_COMMIT")"