summaryrefslogtreecommitdiffstats
path: root/scripts/grab-logs.sh
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2010-07-29 19:24:43 -0700
committerRoland McGrath <roland@redhat.com>2010-07-29 19:24:43 -0700
commit11487c5358c414c73bcfd9c850d469fba081f18c (patch)
tree37772c24c3e6aea1f9afc12f2ff89c9ae58e15cc /scripts/grab-logs.sh
parent7f2b706ac8d669475df57714364a00361ae3072f (diff)
downloadkernel-11487c5358c414c73bcfd9c850d469fba081f18c.tar.gz
kernel-11487c5358c414c73bcfd9c850d469fba081f18c.tar.xz
kernel-11487c5358c414c73bcfd9c850d469fba081f18c.zip
Restore README.txt, scripts.
Diffstat (limited to 'scripts/grab-logs.sh')
-rwxr-xr-xscripts/grab-logs.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/grab-logs.sh b/scripts/grab-logs.sh
new file mode 100755
index 000000000..8a445ec99
--- /dev/null
+++ b/scripts/grab-logs.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+VER=$(make verrel)
+ver=$(echo $VER | sed -e 's/-/ /g' | awk '{print $2}')
+rev=$(echo $VER | sed -e 's/-/ /g' | awk '{print $3}')
+
+if [ -d logs ]; then
+ DIR=logs/
+else
+ DIR=./
+fi
+
+wget -O $DIR/build-$VER-i686.log http://kojipkgs.fedoraproject.org/packages/kernel/$ver/$rev/data/logs/i686/build.log
+wget -O $DIR/build-$VER-x86-64.log http://kojipkgs.fedoraproject.org/packages/kernel/$ver/$rev/data/logs/x86_64/build.log
+wget -O $DIR/build-$VER-noarch.log http://kojipkgs.fedoraproject.org/packages/kernel/$ver/$rev/data/logs/noarch/build.log
+