echo cleaning up the directory before the tests if ls -lt | head -2 | egrep CLEAN > /dev/null 2>&1 then rm -f CLEAN > /dev/null 2>&1 else rm -f CLEAN > /dev/null 2>&1 mmake $gradeopt -j realclean_local > /dev/null 2>&1 fi