2017-06-04 00:02:33 +02:00
|
|
|
#!/bin/sh
|
|
|
|
# glibc-patches VERSION - fetch glibc upstream patches
|
|
|
|
version=${1?no version given}
|
2017-10-10 16:28:22 +02:00
|
|
|
curl -sL "https://github.com/bminor/glibc/compare/glibc-${version}...release/${version}/master.patch" | sed '/^Subject/s,/[0-9]*\],],' | csplit -f glibc-upstream- -b '%02d.patch' - '/^From /' '{*}'
|
2017-06-04 00:02:33 +02:00
|
|
|
rm glibc-upstream-00.patch
|