From 5c6bd0eb6fc771943e8668bda5ceea30788fdfea Mon Sep 17 00:00:00 2001 From: JustArchi Date: Thu, 31 Aug 2017 07:54:25 +0200 Subject: [PATCH] Misc --- cc.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cc.sh b/cc.sh index 9f1fb5570..fd5eb1929 100755 --- a/cc.sh +++ b/cc.sh @@ -36,7 +36,8 @@ if [[ -d ".git" ]] && hash git &>/dev/null; then git pull || true fi -if [[ ! -f "${PROJECT}.sln" ]]; then +if [[ ! -f "$SOLUTION" ]]; then + echo "ERROR: $SOLUTION could not be found!" exit 1 fi