1echo "app_normal_with_env: build" 2# 判断CC环境变量是否为'abc-gcc' 3if [ "$CC" != "abc-gcc" ]; then 4 echo "CC is not abc-gcc" 5 exit 1 6else 7 echo "[OK]: CC is abc-gcc" 8fi 9 10