Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
MC: obey to the rule of 5 to please sonar
[simgrid.git] / tools / internal / update_copyright_header
index e68449192ddc3c5b2d7d944d4cfbe6f37b2a2fbc..6cccb337cc9a9965f82f9abe7c10b7171b5214bf 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 
-# Copyright (c) 2014. The SimGrid Team.
+# Copyright (c) 2014-2020. The SimGrid Team.
 # All rights reserved.
 
 # This program is free software; you can redistribute it and/or modify it
@@ -89,7 +89,7 @@ for file; do
         continue
     fi
 
-    if grep -q "Copyright.*SimGrid" $file ; then 
+    if grep -q "Copyright.*SimGrid" $file ; then
         if head -n 1 "$file" | grep -q '^#!'; then
             script=1
         else
@@ -128,7 +128,7 @@ for file; do
         cat "$tmp_head" "$tmp_copy" "$tmp_foot" > $file
     else
         echo "Pass: there is no SimGrid Copyright header."
-    fi ; # 
+    fi ; #
 done
 
 cat <<EOF