From b3fa18c22966b567c5cfdeaa82cbfda8061e114f Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Sat, 1 Sep 2018 21:29:58 +0100 Subject: [PATCH] copyright script never removes authorship --- scripts/copyright | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/copyright b/scripts/copyright index a461b54c..2401f4aa 100755 --- a/scripts/copyright +++ b/scripts/copyright @@ -15,7 +15,12 @@ Copyright (C) 2015-2018 EOF -git log $1 | grep Author | sort -u >> message +git log $1 | grep Author > gitauth +grep 'Author: ' $1 > fileauth + +cat gitauth fileauth | sort -u >> message + +rm gitauth fileauth cat >> message <