Blame scripts/grab-logs.sh
|
Roland McGrath |
11487c5 |
#!/bin/sh
|
|
Roland McGrath |
11487c5 |
|
|
Dave Jones |
f29a760 |
VER=$(fedpkg verrel)
|
|
Roland McGrath |
11487c5 |
ver=$(echo $VER | sed -e 's/-/ /g' | awk '{print $2}')
|
|
Roland McGrath |
11487c5 |
rev=$(echo $VER | sed -e 's/-/ /g' | awk '{print $3}')
|
|
Roland McGrath |
11487c5 |
|
|
Roland McGrath |
11487c5 |
if [ -d logs ]; then
|
|
Roland McGrath |
11487c5 |
DIR=logs/
|
|
Roland McGrath |
11487c5 |
else
|
|
Roland McGrath |
11487c5 |
DIR=./
|
|
Roland McGrath |
11487c5 |
fi
|
|
Roland McGrath |
11487c5 |
|
|
Roland McGrath |
11487c5 |
wget -O $DIR/build-$VER-i686.log http://kojipkgs.fedoraproject.org/packages/kernel/$ver/$rev/data/logs/i686/build.log
|
|
Roland McGrath |
11487c5 |
wget -O $DIR/build-$VER-x86-64.log http://kojipkgs.fedoraproject.org/packages/kernel/$ver/$rev/data/logs/x86_64/build.log
|
|
Roland McGrath |
11487c5 |
wget -O $DIR/build-$VER-noarch.log http://kojipkgs.fedoraproject.org/packages/kernel/$ver/$rev/data/logs/noarch/build.log
|
|
Roland McGrath |
11487c5 |
|