Replace spaces in the file path with %20.
This commit is contained in:
1 parent
eda22e02db
commit
ec363be888
1 file changed
+1
@@ -19,6 +19,7 @@ use Class::Unload;
|
|||||||
use FindBin qw($Bin);
|
use FindBin qw($Bin);
|
||||||
our $Bin = $Bin; ## no critic qw(NamingConventions::Capitalization Variables::ProhibitPackageVars)
|
our $Bin = $Bin; ## no critic qw(NamingConventions::Capitalization Variables::ProhibitPackageVars)
|
||||||
BEGIN {
|
BEGIN {
|
||||||
|
$Bin =~ s/\s/%20/gxsm;
|
||||||
unshift @INC, "$Bin/../lib";
|
unshift @INC, "$Bin/../lib";
|
||||||
|
|
||||||
open my $gitfh, '<', "$Bin/../.git/refs/heads/indev";
|
open my $gitfh, '<', "$Bin/../.git/refs/heads/indev";
|
||||||
|
|||||||
Reference in new issue
Block a user