Skip to content

Commit

Permalink
Do not use REVISION anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jan 29, 2014
1 parent eee2a6a commit a6e5460
Show file tree
Hide file tree
Showing 12 changed files with 7 additions and 18 deletions.
2 changes: 1 addition & 1 deletion make/makepack-awstats.pl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
$RPMDIR="/home/ldestail/rpmbuild";
}
use vars qw/ $REVISION $VERSION /;
$REVISION='$Revision$'; $REVISION =~ /\s(.*)\s/; $REVISION=$1;
$REVISION='20140126';
$VERSION="1.0 (build $REVISION)";


Expand Down
2 changes: 1 addition & 1 deletion make/makepack-awstats_webmin.pl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
$RPMDIR="/usr/src/RPM";
}
use vars qw/ $REVISION $VERSION /;
$REVISION='$Revision$'; $REVISION =~ /\s(.*)\s/; $REVISION=$1;
$REVISION='$REVISION';
$VERSION="1.0 (build $REVISION)";


Expand Down
3 changes: 1 addition & 2 deletions tools/awstats_buildstaticpages.pl
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
#------------------------------------------------------------------------------
# Defines
#------------------------------------------------------------------------------
my $REVISION = '20140126';
$REVISION =~ /\s(.*)\s/; $REVISION=$1;
my $REVISION='20140126';
my $VERSION="1.2 (build $REVISION)";

# ---------- Init variables --------
Expand Down
3 changes: 1 addition & 2 deletions tools/awstats_configure.pl
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@
eval('use Win32::TieRegistry ( Delimiter=>"/", TiedRef=>\$reg )');

use vars qw/ $REVISION $VERSION /;
$REVISION = '20140126';
$REVISION =~ /\s(.*)\s/; $REVISION=$1;
$REVISION='20140126';
$VERSION="1.0 (build $REVISION)";

use vars qw/
Expand Down
5 changes: 2 additions & 3 deletions tools/awstats_exportlib.pl
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@
# Defines
#-----------------------------------------------------------------------------
use vars qw/ $REVISION $VERSION /;
$REVISION = '20140126';
$REVISION =~ /\s(.*)\s/; $REVISION=$1;
my $VERSION="5.1 (build $REVISION)";
$REVISION='20140126';
$VERSION="5.1 (build $REVISION)";

# ---------- Init variables -------
# Constants
Expand Down
1 change: 0 additions & 1 deletion tools/awstats_updateall.pl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
# Defines
#------------------------------------------------------------------------------
my $REVISION = '20140126';
$REVISION =~ /\s(.*)\s/; $REVISION=$1;
my $VERSION="1.0 (build $REVISION)";

# Default value of DIRCONFIG
Expand Down
1 change: 0 additions & 1 deletion tools/geoip_generator.pl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# Defines
#------------------------------------------------------------------------------
my $REVISION = '20140126';
$REVISION =~ /\s(.*)\s/; $REVISION=$1;
my $VERSION="0.5 (build $REVISION)";

use vars qw/
Expand Down
1 change: 0 additions & 1 deletion tools/logresolvemerge.pl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
# ---------- Init variables --------
use vars qw/ $REVISION $VERSION /;
$REVISION = '20140126';
$REVISION =~ /\s(.*)\s/; $REVISION=$1;
$VERSION="1.2 (build $REVISION)";

use vars qw/ $NBOFLINESFORBENCHMARK /;
Expand Down
1 change: 0 additions & 1 deletion tools/maillogconvert.pl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#-------------------------------------------------------
use vars qw/ $REVISION $VERSION /;
$REVISION = '20140126';
$REVISION =~ /\s(.*)\s/; $REVISION=$1;
$VERSION="1.2 (build $REVISION)";

use vars qw/
Expand Down
1 change: 0 additions & 1 deletion tools/urlaliasbuilder.pl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

# variables, etc
my $REVISION = '20140126';
$REVISION =~ /\s(.*)\s/; $REVISION=$1;
my $VERSION="1.0 (build $REVISION)";

############### EDIT HERE ###############
Expand Down
3 changes: 1 addition & 2 deletions wwwroot/cgi-bin/awredir.pl
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
# Defines
#-------------------------------------------------------
use vars qw/ $REVISION $VERSION /;
$REVISION = '20140126';
$REVISION =~ /\s(.*)\s/; $REVISION=$1;
$REVISION='20140126';
$VERSION="1.2 (build $REVISION)";

use vars qw / $DIR $PROG $Extension $DEBUG $DEBUGFILE $REPLOG $DEBUGRESET $SITE $REPCONF /;
Expand Down
2 changes: 0 additions & 2 deletions wwwroot/cgi-bin/awstats.pl
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@
#------------------------------------------------------------------------------
use vars qw/ $REVISION $VERSION /;
$REVISION = '20140126';
$REVISION =~ /\s(.*)\s/;
$REVISION = $1;
$VERSION = "7.3 (build $REVISION)";

# ----- Constants -----
Expand Down

0 comments on commit a6e5460

Please sign in to comment.