9 lines
213 B
Plaintext
9 lines
213 B
Plaintext
|
#! /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
|