Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[#!] #!/bin/bash -> #!/usr/bin/env bash
[simgrid.git] / tools / internal / update_copyright_header
index e42c53a..e684491 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # Copyright (c) 2014. The SimGrid Team.
 # All rights reserved.
@@ -27,8 +27,6 @@ fi
 
 printf 'Using template: %s\n' "$template"
 
-now=$(date +%Y)
-
 get_dates() {
     local file=$1
     local date
@@ -50,7 +48,6 @@ get_dates() {
         esac
     done
     git log --format=%ad "$file" | cut -d\  -f5 | uniq
-    echo $now
 }
 
 format_dates() {