27955a0fee
This is a useful function to update all our copyright years. Move it into build-aux so that it is not lost in the switch to meson. Signed-off-by: Allan McRae <allan@archlinux.org>
9 lines
213 B
Bash
Executable File
9 lines
213 B
Bash
Executable File
#! /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
|