aboutsummaryrefslogtreecommitdiffstats
path: root/iurt
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-09-12 17:36:00 +0000
committerThierry Vignaud <tv@mageia.org>2012-09-12 17:36:00 +0000
commit2e70a9430682519600b4f1ac7c3528112abc0959 (patch)
tree7a74b5af78acdeef9081f6e21a52087d5a0a3e79 /iurt
parent0312f3371249d9fdd3a2db66707b91f50ef19ee1 (diff)
downloadiurt-2e70a9430682519600b4f1ac7c3528112abc0959.tar
iurt-2e70a9430682519600b4f1ac7c3528112abc0959.tar.gz
iurt-2e70a9430682519600b4f1ac7c3528112abc0959.tar.bz2
iurt-2e70a9430682519600b4f1ac7c3528112abc0959.tar.xz
iurt-2e70a9430682519600b4f1ac7c3528112abc0959.zip
- do not display meaningless commiter, revision & checkout date, just
version - extract version number from sources
Diffstat (limited to 'iurt')
-rwxr-xr-xiurt6
1 files changed, 2 insertions, 4 deletions
diff --git a/iurt b/iurt
index a9da60f..306f4cb 100755
--- a/iurt
+++ b/iurt
@@ -365,10 +365,8 @@ plog_init($program_name, $run{logfd} || $LOG, 7, 1); # For parsing command line
# Display version information
#
-(my $iurt_rev = '$Rev$') =~ s/.*: (\d+).*/$1/;
-(my $iurt_aut = '$Author$') =~ s/.*: (..).*/$1/;
-(my $iurt_dat = '$Date$') =~ s/.*: ([\d-]* [\d:]*) .*/$1/;
-plog("MSG", "This is iurt revision $iurt_rev-$iurt_aut ($iurt_dat)");
+my $version = '0.6.11';
+plog("MSG", "This is iurt version $version");
my $todo = parseCommandLine($program_name, \@ARGV, \@params);
@ARGV and usage($program_name, \@params, "@ARGV, too many arguments");