From 3cf209a3a4c3edafad17bc07c0d2558a7ca2ab70 Mon Sep 17 00:00:00 2001 From: ligc Date: Fri, 3 Jul 2015 02:14:48 -0400 Subject: [PATCH] fix a problem with COMMITD flag --- buildcore.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/buildcore.sh b/buildcore.sh index 70180f4bd..4227b6645 100755 --- a/buildcore.sh +++ b/buildcore.sh @@ -249,8 +249,10 @@ if [ "$GIT" = "1" ]; then fi fi fi - if ! $GREP 'Already up-to-date' $GITUP; then - SOMETHINGCHANGED=1 + if [ -f "$GITUP" ]; then + if ! $GREP 'Already up-to-date' $GITUP; then + SOMETHINGCHANGED=1 + fi fi fi else