From 10a853039a8804b99edde8e85bad1e30b8412a24 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Fri, 7 Feb 2020 12:32:39 -0800 Subject: [PATCH] misc/update-version: drop .pl suffix --- misc/{update-version.pl => update-version} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename misc/{update-version.pl => update-version} (81%) 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",/;