mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-04-13 09:30:06 +00:00
small change, prefix can't be optional
This commit is contained in:
parent
ed573dafbd
commit
dc45d30f9e
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ my $contained = (substr $scriptdir, 0, length($home)) eq $home;
|
||||||
my $prefix = undef;
|
my $prefix = undef;
|
||||||
if ($contained) {
|
if ($contained) {
|
||||||
$prefix = substr $scriptdir, length($home);
|
$prefix = substr $scriptdir, length($home);
|
||||||
($prefix) = $prefix =~ m{^\/? (.+)? [^/]+ $}x;
|
($prefix) = $prefix =~ m{^\/? (.+) [^/]+ $}x;
|
||||||
}
|
}
|
||||||
|
|
||||||
my $i = 0; # Keep track of how many links we added
|
my $i = 0; # Keep track of how many links we added
|
||||||
|
|
Loading…
Add table
Reference in a new issue