mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-24 19:52:34 +01:00
Fix @INC
This commit is contained in:
parent
5a28569b26
commit
c6082ba467
@ -7,6 +7,8 @@
|
|||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
|
||||||
|
use lib ".";
|
||||||
|
|
||||||
use Parse::RecDescent;
|
use Parse::RecDescent;
|
||||||
use Getopt::Std;
|
use Getopt::Std;
|
||||||
use Data::Dumper;
|
use Data::Dumper;
|
||||||
@ -84,6 +86,7 @@ foreach my $arg (@ARGV) {
|
|||||||
$output =~ s/the function a generic-selection/the function resulting from a generic-selection/g;
|
$output =~ s/the function a generic-selection/the function resulting from a generic-selection/g;
|
||||||
$output =~ s/\.\s+Then exit switch block/ and then exit switch block/g;
|
$output =~ s/\.\s+Then exit switch block/ and then exit switch block/g;
|
||||||
$output =~ s/,\././g;
|
$output =~ s/,\././g;
|
||||||
|
$output =~ s/of unspecified length //g;
|
||||||
while($output =~ s/const const/const/g){};
|
while($output =~ s/const const/const/g){};
|
||||||
|
|
||||||
foreach my $quote (@quotes) {
|
foreach my $quote (@quotes) {
|
||||||
|
1
pbot.pl
1
pbot.pl
@ -15,6 +15,7 @@ my $VERSION = "1.0.0";
|
|||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
|
||||||
|
use lib ".";
|
||||||
use PBot::PBot;
|
use PBot::PBot;
|
||||||
|
|
||||||
# Be sure to set $bothome to the location PBot was extracted (default assumes ~/pbot).
|
# Be sure to set $bothome to the location PBot was extracted (default assumes ~/pbot).
|
||||||
|
Loading…
Reference in New Issue
Block a user