/[gentoo-x86]/autocompile.sh
Gentoo

Diff of /autocompile.sh

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

Revision 1.15 Revision 1.16
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`
9PORTDIR=/usr/portage 10#PORTDIR=/usr/portage
10LOGDIR=$ROOT/tmp/portage-log 11LOGDIR=$ROOT/tmp/portage-log
11if [ -z "$CHECK" ] 12if [ -z "$CHECK" ]
12then 13then
13 CHECK="yes" 14 CHECK="yes"
14fi 15fi
75 # category 76 # category
76 myc="`echo $i | sed -e "s:^\./\(.*\).*/.*/.*$:\1:"`" 77 myc="`echo $i | sed -e "s:^\./\(.*\).*/.*/.*$:\1:"`"
77 78
78 # package name 79 # package name
79 myp=${myf%*.ebuild} 80 myp=${myf%*.ebuild}
81
82 echo $myp
80 83
81 if [ -f "$myd" ] 84 if [ -f "$myd" ]
82 then 85 then
83 86
84 # Check if installed 87 # Check if installed
89 continue 92 continue
90 fi 93 fi
91 else 94 else
92 if [ "$CHECK" = "package" ] 95 if [ "$CHECK" = "package" ]
93 then 96 then
94 if [ -f ${PORTDIR}/packages/i486/All/$myp.tbz2 ] 97 if [ -f ${PKGDIR}/All/$myp.tbz2 ]
95 then 98 then
96 continue 99 continue
97 fi 100 fi
98 fi 101 fi
99 fi 102 fi

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

  ViewVC Help
Powered by ViewVC 1.1.20