File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
# # pulledpork v(whatever it says below!)
4
4
5
- # Copyright (C) 2009-2020 JJ Cummings, Michael Shirk and the PulledPork Team!
5
+ # Copyright (C) 2009-2021 JJ Cummings, Michael Shirk and the PulledPork Team!
6
6
7
7
# This program is free software; you can redistribute it and/or
8
8
# modify it under the terms of the GNU General Public License
@@ -255,7 +255,7 @@ sub pulledpork {
255
255
`----,\\ )
256
256
`--==\\\\ / PulledPork v$VERSION - $HUMOR
257
257
`--==\\\\ /
258
- .-~~~~-.Y|\\\\ _ Copyright (C) 2009-2020 JJ Cummings, Michael Shirk
258
+ .-~~~~-.Y|\\\\ _ Copyright (C) 2009-2021 JJ Cummings, Michael Shirk
259
259
\@ _/ / 66\\ _ and the PulledPork Team!
260
260
| \\ \\ _(\" )
261
261
\\ /-| ||'--' Rules give me wings!
@@ -702,11 +702,12 @@ sub read_rules {
702
702
if (-d $path ) {
703
703
opendir (DIR, " $path " );
704
704
while (defined ($file = readdir DIR)) {
705
- if (grep /^$path$file $/ , @local_rules ) {
705
+ my $fullpath = $path .$file ;
706
+ if (grep /^$fullpath $/ , @local_rules ) {
706
707
next ;
707
708
}
708
709
else {
709
- open (DATA , " $path$file " );
710
+ open (DATA , " $fullpath " );
710
711
@elements = <DATA >;
711
712
close (DATA );
712
713
}
You can’t perform that action at this time.
0 commit comments