]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
web: fix media location when appending MD5
authorVincent Bernat <bernat@luffy.cx>
Sat, 12 Jan 2013 22:13:40 +0000 (23:13 +0100)
committerVincent Bernat <bernat@luffy.cx>
Sat, 12 Jan 2013 22:13:40 +0000 (23:13 +0100)
fabfile.py

index 07e21c56fef6de0894ed3457b1b06636d87e0fd0..77bbfc3f7cd91072afbc646a747d745a22b44373 100644 (file)
@@ -48,7 +48,7 @@ def build():
                 # Fix HTML
                 local(r"find . -name '*.html' -type f -print0 | xargs -r0 sed -i "
                       '"'
-                      r"s@\([\"']\)/%s\1@\1/%s\1@g"
+                      r"s@\([\"']\)%s\1@\1%s\1@g"
                       '"' % (f, newname))
 
     lldpdir = os.getcwd()