blob: a752173a9ebddd097560039cb8175475b9073b2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/usr/bin/ruby
PORTAGE_DIR="/usr/portage/"
#PORTAGE_DIR="/home/bangert/gentoo/test-portage"
LOGDIR="/home/bangert/gentoo/repoman-log/"
categories=`cat #{PORTAGE_DIR}/profiles/categories`.split()
categories.map{ |x|
Dir::chdir("#{PORTAGE_DIR}/#{x}") do
puts x
system("repoman full > #{LOGDIR + x}.log")
end
}
|