Changes in / [397:7f4536948929:396:4b558ee0d4f5] in lemon-1.0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/unify-sources.sh
r393 r208 1 1 #!/bin/bash 2 2 3 YEAR=`date + %Y`3 YEAR=`date +2003-%Y` 4 4 HGROOT=`hg root` 5 6 function hg_year() {7 if [ -n "$(hg st $1)" ]; then8 echo $YEAR9 else10 hg log -l 1 --template='{date|isodate}\n' $1 |11 cut -d '-' -f 112 fi13 }14 5 15 6 function update_header() { … … 21 12 * This file is a part of LEMON, a generic C++ optimization library. 22 13 * 23 * Copyright (C) 2003-"$(hg_year $1)"14 * Copyright (C) "$YEAR" 24 15 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport 25 16 * (Egervary Research Group on Combinatorial Optimization, EGRES).
Note: See TracChangeset
for help on using the changeset viewer.