summaryrefslogtreecommitdiffstats
path: root/scripts/pull-upstreams.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/pull-upstreams.sh')
-rwxr-xr-xscripts/pull-upstreams.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/pull-upstreams.sh b/scripts/pull-upstreams.sh
new file mode 100755
index 000000000..e94fcfd48
--- /dev/null
+++ b/scripts/pull-upstreams.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+utrace_base=2.6-current
+utrace_base=2.6.34
+
+url=http://people.redhat.com/roland/utrace/${1:-$utrace_base}
+
+wget -q -O /dev/stdout $url/series | grep 'patch$' |
+while read i
+do
+ rm -f linux-2.6-$i
+ wget -nv -O linux-2.6-$i $url/$i
+done