source:
MondoRescue/trunk/tools/expandver@
2604
Last change on this file since 2604 was 422, checked in by , 18 years ago | |
---|---|
|
|
File size: 217 bytes |
Rev | Line | |
---|---|---|
[419] | 1 | #!/bin/bash |
2 | # | |
3 | # $Id$ | |
4 | # | |
5 | # Script to expand version in docs, man pages, ... | |
6 | # | |
7 | ddd=`date '+%Y-%m-%d'` | |
8 | for d in $*; do | |
9 | perl -pi -e "s~VVV-rRRR~${MONDO_VER}-r${REVISION}~g" $d | |
10 | perl -pi -e "s~DDD~${ddd}~g" $d | |
11 | done | |
12 |
Note:
See TracBrowser
for help on using the repository browser.