From: Vincent Bernat Date: Sat, 12 Jan 2013 22:13:40 +0000 (+0100) Subject: web: fix media location when appending MD5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=526813b41a129876ca3cf78db02bfff2e36083da;p=thirdparty%2Flldpd.git web: fix media location when appending MD5 --- diff --git a/fabfile.py b/fabfile.py index 07e21c56..77bbfc3f 100644 --- a/fabfile.py +++ b/fabfile.py @@ -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()