COIN-OR::LEMON - Graph Library

Changes in / [397:7f4536948929:396:4b558ee0d4f5] in lemon-1.0


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/unify-sources.sh

    r393 r208  
    11#!/bin/bash
    22
    3 YEAR=`date +%Y`
     3YEAR=`date +2003-%Y`
    44HGROOT=`hg root`
    5 
    6 function hg_year() {
    7     if [ -n "$(hg st $1)" ]; then
    8         echo $YEAR
    9     else
    10         hg log -l 1 --template='{date|isodate}\n' $1 |
    11         cut -d '-' -f 1
    12     fi
    13 }
    145
    156function update_header() {
     
    2112 * This file is a part of LEMON, a generic C++ optimization library.
    2213 *
    23  * Copyright (C) 2003-"$(hg_year $1)"
     14 * Copyright (C) "$YEAR"
    2415 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
    2516 * (Egervary Research Group on Combinatorial Optimization, EGRES).
Note: See TracChangeset for help on using the changeset viewer.