Changeset 498:a76f55d7d397 in lemon-1.2 for scripts/unify-sources.sh
- Timestamp:
- 04/27/09 12:24:44 (16 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/unify-sources.sh
r208 r498 1 1 #!/bin/bash 2 2 3 YEAR=`date + 2003-%Y`3 YEAR=`date +%Y` 4 4 HGROOT=`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 } 5 14 6 15 function update_header() { … … 12 21 * This file is a part of LEMON, a generic C++ optimization library. 13 22 * 14 * Copyright (C) "$YEAR"23 * Copyright (C) 2003-"$(hg_year $1)" 15 24 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport 16 25 * (Egervary Research Group on Combinatorial Optimization, EGRES).
Note: See TracChangeset
for help on using the changeset viewer.