gravatar
alpar (Alpar Juttner)
alpar@cs.elte.hu
Merge
0 1 0
merge default
1 file changed with 7 insertions and 2 deletions:
↑ Collapse diff ↑
Show white space 2 line context
... ...
@@ -2,5 +2,10 @@
2 2

	
3
YEAR=`date +2003-%Y`
3
YEAR=`date +%Y`
4 4
HGROOT=`hg root`
5 5

	
6
function hg_year() {
7
    if [ -n "$(hg st $1)" ]; then
8
        echo $YEAR
9
}
10

	
6 11
# file enumaration modes
... ...
@@ -193,3 +198,3 @@
193 198
 *
194
 * Copyright (C) "$YEAR"
199
 * Copyright (C) 2003-"$(hg_year $1)"
195 200
 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
0 comments (0 inline)