source: branches/2.2.2/tools/expandver

Last change on this file was 419, checked in by bcornec, 13 years ago

Add a tool for Web delivery

  • Property svn:executable set to *
File size: 217 bytes
Line 
1#!/bin/bash
2#
3# $Id$
4#
5# Script to expand version in docs, man pages, ...
6#
7ddd=`date '+%Y-%m-%d'`
8for 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
11done
12
Note: See TracBrowser for help on using the repository browser.