diff --git a/misc/update-version.pl b/misc/update-version similarity index 81% rename from misc/update-version.pl rename to misc/update-version index 551147ac..4d9a3040 100755 --- a/misc/update-version.pl +++ b/misc/update-version @@ -19,11 +19,11 @@ $rev++; print "New version: $rev $date\n"; -open my $in, '<', "PBot/VERSION.pm" or die "Couldn't open VERSION.pm for reading: $!"; +open my $in, '<', "../PBot/VERSION.pm" or die "Couldn't open VERSION.pm for reading: $!"; my @lines = <$in>; close $in; -open my $out, '>', "PBot/VERSION.pm" or die "Couldn't open VERSION.pm for writing: $!"; +open my $out, '>', "../PBot/VERSION.pm" or die "Couldn't open VERSION.pm for writing: $!"; foreach my $text (@lines) { $text =~ s/BUILD_NAME\s+=> ".*",/BUILD_NAME => "PBot",/;