source:
MondoRescue/branches/2.0.9/tools/expandver@
779
Last change on this file since 779 was 419, checked in by , 19 years ago | |
---|---|
|
|
File size: 217 bytes |
Line | |
---|---|
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.