From 4bc6757e3741f232b68cd5d2cfd7a50396221697 Mon Sep 17 00:00:00 2001
From: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
Date: Wed, 19 Jul 2017 18:36:27 -0400
Subject: [PATCH] tools: remove the 'by' in copyright header

Change-Id: I39c63f07adb9843471e56579d7651d42c69ed828
---
 tools/update-copyright | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/update-copyright b/tools/update-copyright
index b397a1a092..24bd422713 100755
--- a/tools/update-copyright
+++ b/tools/update-copyright
@@ -27,8 +27,8 @@ year=`date +%Y`
 # Loop and replace
 for f in $FILES
 do
-  sed -i "/$year/b; s/\-[0-9]\+ Savoir-[fF]aire Linux Inc/-$year Savoir-faire Linux Inc/g" $f
-  sed -i "/$year/b; s/ \([0-9]\+\) Savoir-[fF]aire Linux Inc/ \1-$year Savoir-faire Linux Inc/g" $f
+  sed -i "/$year/b; s/\-[0-9]\+ \(by \)\?Savoir-[fF]aire Linux/-$year Savoir-faire Linux/g" $f
+  sed -i "/$year/b; s/ \([0-9]\+\) \(by \)\?Savoir-[fF]aire Linux/ \1-$year Savoir-faire Linux/g" $f
   sed -i "/$year/b; s/Savoir-[fF]aire Linux \([0-9]\+\)\-[0-9]\+/Savoir-faire Linux \1-$year/g" $f
 done
 
-- 
GitLab