Shell_1(目录之间切换执行脚本)


 1 #!/bin/bash
 2 
 3 for file in $TEST*/;
 4         do
 5                 echo "-------------"
 6                 pwd
 7                 echo "-------------"
 8                 cd $file
 9                 pwd
10                 echo "-------------"
11                 echo './go'
12                 cd ..
13                 echo "--------------"
14                 pwd
15                 echo "--------------"
16                 echo './makecoverage'
17 done
18 exit 0
Shell_1

 

posted @ 2013-12-07 13:14  茶陵后  阅读(646)  评论(1编辑  收藏  举报