summaryrefslogtreecommitdiff
path: root/mcon/mlint.SH
diff options
context:
space:
mode:
authorrmanfredi <rmanfredi@190e5f8e-a817-0410-acf6-e9863daed9af>2008-05-28 11:19:25 +0000
committerrmanfredi <rmanfredi@190e5f8e-a817-0410-acf6-e9863daed9af>2008-05-28 11:19:25 +0000
commit6ed168ff814db8f9bcaad6f2e218fb2bbacbdb1c (patch)
treed714e774455de2d2950794b5b3ebe9c9da43035e /mcon/mlint.SH
parent5de075ee96dc6fc8b18e37a70af93fca66bbfa25 (diff)
SVN revision number is now automatically generated in "revision.h".
The old patchlevel information is no longer used, and <PATCHLEVEL> is deprecated in unit files, replaced by <REVISION>. git-svn-id: https://dist.svn.sourceforge.net/svnroot/dist/trunk/dist@25 190e5f8e-a817-0410-acf6-e9863daed9af
Diffstat (limited to 'mcon/mlint.SH')
-rwxr-xr-xmcon/mlint.SH3
1 files changed, 2 insertions, 1 deletions
diff --git a/mcon/mlint.SH b/mcon/mlint.SH
index 62d4021..9e0cbf6 100755
--- a/mcon/mlint.SH
+++ b/mcon/mlint.SH
@@ -51,6 +51,7 @@ $startperl
\$MC = '$privlib';
\$version = '$VERSION';
\$patchlevel = '$PATCHLEVEL';
+\$revision = '$REVISION';
\$grep = '$grep';
!GROK!THIS!
@@ -60,7 +61,7 @@ require 'getopts.pl';
&usage unless &Getopts("hklVL:");
if ($opt_V) {
- print STDERR "metalint $version PL$patchlevel\n";
+ print STDERR "metalint $version-$revision\n";
exit 0;
} elsif ($opt_h) {
&usage;