diff --git a/step2/2.sh b/step2/2.sh index 7914c89..4daa0c9 100644 --- a/step2/2.sh +++ b/step2/2.sh @@ -4,7 +4,7 @@ cd /data/workspace/myshixun/step2/ #sh ./wenti.sh # 执行学生代码文件 -result=$(grep -c -E "China|Mars" a.sh) +result=$(grep -c -E "China|Mars" wenti.sh) if [ $result -eq 0 ];then echo `sh wenti.sh` >/tmp/a.txt