From ee3fddf1eb277d2d855ec09290230b4c81ad211b Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Sat, 22 Mar 2014 18:52:54 +0000 Subject: [PATCH] expand_macros.pl doesn't require a nick argument any longer, correct ARGV count --- PBot/VERSION.pm | 4 ++-- modules/expand_macros.pl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PBot/VERSION.pm b/PBot/VERSION.pm index 61be730a..a28b7220 100644 --- a/PBot/VERSION.pm +++ b/PBot/VERSION.pm @@ -13,8 +13,8 @@ use warnings; # These are set automatically by the build/commit script use constant { BUILD_NAME => "PBot", - BUILD_REVISION => 530, - BUILD_DATE => "2014-03-18", + BUILD_REVISION => 531, + BUILD_DATE => "2014-03-22", }; 1; diff --git a/modules/expand_macros.pl b/modules/expand_macros.pl index 4093c1b7..a3ae1d31 100755 --- a/modules/expand_macros.pl +++ b/modules/expand_macros.pl @@ -16,7 +16,7 @@ my $USE_LOCAL = defined $ENV{'CC_LOCAL'}; my $output = ""; my $nooutput = 'No output.'; -if($#ARGV < 1) { +if($#ARGV < 0) { print "Usage: expand \n"; exit 0; }