Roland McGrath 11487c5
#!/bin/bash
Roland McGrath 11487c5
Roland McGrath 11487c5
utrace_base=2.6-current
Roland McGrath 11487c5
utrace_base=2.6.34
Roland McGrath 11487c5
Roland McGrath 11487c5
url=http://people.redhat.com/roland/utrace/${1:-$utrace_base}
Roland McGrath 11487c5
Roland McGrath 11487c5
wget -q -O /dev/stdout $url/series | grep 'patch$' |
Roland McGrath 11487c5
while read i
Roland McGrath 11487c5
do
Roland McGrath 11487c5
  rm -f linux-2.6-$i
Roland McGrath 11487c5
  wget -nv -O linux-2.6-$i $url/$i
Roland McGrath 11487c5
done