forked from the-distro/ofborg
Update the maintainers script for clarity on how to call it
This commit is contained in:
parent
a7de0792fc
commit
789e0d81bd
|
@ -3,7 +3,9 @@
|
|||
|
||||
set -euxo pipefail
|
||||
|
||||
statuses_url=$(curl --fail -L "https://api.github.com/repos/nixos/nixpkgs/pulls/$1" \
|
||||
PRNUM=$1
|
||||
|
||||
statuses_url=$(curl --fail -L "https://api.github.com/repos/nixos/nixpkgs/pulls/$PRNUM" \
|
||||
| jq -r .statuses_url)
|
||||
|
||||
changed_url=$(curl --fail -L "$statuses_url" \
|
||||
|
@ -33,7 +35,7 @@ EOF
|
|||
|
||||
changedpaths = ['
|
||||
|
||||
curl --fail -L "https://github.com/NixOS/nixpkgs/pull/$1.patch" \
|
||||
curl --fail -L "https://github.com/NixOS/nixpkgs/pull/$PRNUM.patch" \
|
||||
| grep "^+++ b/" | sed -e "s/^+++ b//" \
|
||||
| sed -e 's/^/"/' | sed -e 's/$/"/' \
|
||||
| sort | uniq
|
||||
|
|
Loading…
Reference in a new issue