/[gentoo-x86]/autocompile.sh
Gentoo

Diff of /autocompile.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.5 Revision 1.6
13do_step() { 13do_step() {
14 14
15 local tmpp 15 local tmpp
16 tmpd=`pwd` 16 tmpd=`pwd`
17 echo "$C_END $C_HILITE " 17 echo "$C_END $C_HILITE "
18 echo "$C_END $C_HILITE [$1] " 18 echo "$C_END $C_HILITE [$1]$C_NORMAL "
19 cd `dirname $myd` 19 cd `dirname $myd`
20 ebuild $myf $1 &> $myl/$1 20 ebuild $myf $1 &> $myl/$1
21 mye=$? 21 mye=$?
22 cd $tmpd 22 cd $tmpd
23 23
29 fi 29 fi
30 30
31 if [ $mye -ne 0 ] 31 if [ $mye -ne 0 ]
32 then 32 then
33 echo "$C_END $C_HILITE " 33 echo "$C_END $C_HILITE "
34 echo "$C_END $C_NO [$1] " 34 echo "$C_END $C_NO [$1]$C_NORMAL "
35 echo $i >> $LOGDIR/$1 35 echo $i >> $LOGDIR/$1
36 fi 36 fi
37} 37}
38 38
39if [ -z "${ROOT}" ] 39if [ -z "${ROOT}" ]
93 break 93 break
94 fi 94 fi
95 done 95 done
96 if [ $mye -eq 0 ] 96 if [ $mye -eq 0 ]
97 then 97 then
98 echo "$C_END $C_OK [OK] " 98 echo "$C_END $C_OK [OK]$C_NORMAL "
99 fi 99 fi
100 100
101 else 101 else
102 echo "!!! $myd does not exists !" 102 echo "!!! $myd does not exists !"
103 fi 103 fi

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.20