/[gentoo-x86]/autocompile.sh
Gentoo

Diff of /autocompile.sh

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

Revision 1.16 Revision 1.17
76 # category 76 # category
77 myc="`echo $i | sed -e "s:^\./\(.*\).*/.*/.*$:\1:"`" 77 myc="`echo $i | sed -e "s:^\./\(.*\).*/.*/.*$:\1:"`"
78 78
79 # package name 79 # package name
80 myp=${myf%*.ebuild} 80 myp=${myf%*.ebuild}
81 81
82 # debugging
82 echo $myp 83# echo $myp
83 84
84 if [ -f "$myd" ] 85 if [ -f "$myd" ]
85 then 86 then
86 87
87 # Check if installed 88 # Check if installed
102 fi 103 fi
103 104
104 echo "$C_NORMAL$myp ($myc)" 105 echo "$C_NORMAL$myp ($myc)"
105 106
106 myl="$LOGDIR/$myc/$myp/" 107 myl="$LOGDIR/$myc/$myp/"
107 mkdir -p $myl 108 mkdir -p $myl
108 109
109 for j in ${STEPS} 110 for j in ${STEPS}
110 do 111 do
111 mye=0 112 mye=0
112 do_step $j 113 do_step $j
113 if [ $mye -ne 0 ] 114 if [ $mye -ne 0 ]
114 then 115 then
115 break 116 break
116 fi 117 fi
117 done 118 done
118 if [ $mye -eq 0 ] 119 if [ $mye -eq 0 ]
119 then 120 then
120 echo "$C_END $C_OK [OK]$C_NORMAL " 121 echo "$C_END $C_OK [OK]$C_NORMAL "
122 echo $i >> ${LOGDIR}/ok
121 fi 123 fi
122 124
123 else 125 else
124 echo "!!! $myd does not exists !" 126 echo "!!! $myd does not exists !"
125 fi 127 fi
126 env-update &>/dev/null 128 env-update &>/dev/null
127 129

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.20