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