/[gentoo-x86]/autocompile.sh
Gentoo

Diff of /autocompile.sh

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

Revision 1.17 Revision 1.18
4C_NORMAL=$'\033[0m' 4C_NORMAL=$'\033[0m'
5C_HILITE=$'\e[36;01m' 5C_HILITE=$'\e[36;01m'
6C_END=$'\e[A\e[68G' 6C_END=$'\e[A\e[68G'
7C_OK=$'\e[32m' 7C_OK=$'\e[32m'
8C_NO=$'\e[31m' 8C_NO=$'\e[31m'
9eval `/usr/lib/portage/bin/import-settings PORTDIR PKGDIR` 9#eval `/usr/lib/portage/bin/import-settings PORTDIR PKGDIR`
10#PORTDIR=/usr/portage 10PORTDIR=/usr/portage
11LOGDIR=$ROOT/tmp/portage-log 11LOGDIR=$ROOT/tmp/portage-log
12if [ -z "$CHECK" ] 12if [ -z "$CHECK" ]
13then 13then
14 CHECK="yes" 14 CHECK="yes"
15fi 15fi
49then 49then
50 echo "ROOT not set !" 50 echo "ROOT not set !"
51 exit 1 51 exit 1
52fi 52fi
53 53
54mylist=${PORTDIR}/gentoo-x86/current-packages 54mylist=${PORTDIR}/current-packages
55 55
56if [ -f "${1}" ] 56if [ -f "${1}" ]
57then 57then
58 mylist=${1} 58 mylist=${1}
59fi 59fi
66echo "$C_HILITE>>>$C_NORMAL Building from ${mylist}..." 66echo "$C_HILITE>>>$C_NORMAL Building from ${mylist}..."
67for i in $mypackages 67for i in $mypackages
68do 68do
69 source /etc/profile 69 source /etc/profile
70 # full path 70 # full path
71 myd=${i/.\//$PORTDIR\/gentoo-x86\/} 71 myd=${i/.\//$PORTDIR\/}
72 72
73 # file name 73 # file name
74 myf="`basename $myd`" 74 myf="`basename $myd`"
75 75
76 # category 76 # category

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

  ViewVC Help
Powered by ViewVC 1.1.20