mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 08:05:55 +02:00
Merge pull request #2511 from letsencrypt/no-double-transform
Match globs properly
This commit is contained in:
@@ -477,7 +477,7 @@ class ApacheParser(object):
|
||||
# Note: This works for augeas globs, ie. *.conf
|
||||
if use_new:
|
||||
inc_test = self.aug.match(
|
||||
"/augeas/load/Httpd/incl [. ='%s']" % filepath)
|
||||
"/augeas/load/Httpd['%s' =~ glob(incl)]" % filepath)
|
||||
if not inc_test:
|
||||
# Load up files
|
||||
# This doesn't seem to work on TravisCI
|
||||
|
||||
Reference in New Issue
Block a user