Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/build-aux/update-copyright
blob: eef368b8e81b3cf9591779991fde4ef2384b444e (plain)
1
2
3
4
5
6
7
8
#! /bin/sh

OLD=$1
NEW=$2

for file in $(git grep -l "Copyright .* Pacman Development" | grep -v "\.po"); do \
	sed -i -e "/Copyright (/s/-${OLD}/-${NEW}/" -e "/Copyright (/s/ ${OLD}/ ${OLD}-${NEW}/" "$file"
done