Merge
authorAlpar Juttner <alpar@cs.elte.hu>
Tue, 28 Apr 2009 14:01:00 +0100
changeset 628586b65073025
parent 627 20dac2104519
parent 509 a76f55d7d397
child 630 936355864d6e
child 631 d21b38647e53
child 645 cb8270a98660
Merge
scripts/unify-sources.sh
     1.1 --- a/scripts/unify-sources.sh	Tue Apr 28 13:51:34 2009 +0100
     1.2 +++ b/scripts/unify-sources.sh	Tue Apr 28 14:01:00 2009 +0100
     1.3 @@ -1,8 +1,13 @@
     1.4  #!/bin/bash
     1.5  
     1.6 -YEAR=`date +2003-%Y`
     1.7 +YEAR=`date +%Y`
     1.8  HGROOT=`hg root`
     1.9  
    1.10 +function hg_year() {
    1.11 +    if [ -n "$(hg st $1)" ]; then
    1.12 +        echo $YEAR
    1.13 +}
    1.14 +
    1.15  # file enumaration modes
    1.16  
    1.17  function all_files() {
    1.18 @@ -191,7 +196,7 @@
    1.19   *
    1.20   * This file is a part of LEMON, a generic C++ optimization library.
    1.21   *
    1.22 - * Copyright (C) "$YEAR"
    1.23 + * Copyright (C) 2003-"$(hg_year $1)"
    1.24   * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
    1.25   * (Egervary Research Group on Combinatorial Optimization, EGRES).
    1.26   *