aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 8b3109a34..a547c57ef 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -880,7 +880,7 @@ sub match_glob ($$$) { #{{{
# relative matching
if ($glob =~ m!^\./!) {
$from=~s!/?[^/]+$!!;
- $glob=~s!^\./!!;a
+ $glob=~s!^\./!!;
$glob="$from/$glob";
}