Removed TAB as indent.

Fixed regex for modifying absolute paths in header.

svn path=/trunk/; revision=51776
This commit is contained in:
Stig Bjørlykke 2013-09-05 08:22:44 +00:00
parent 8b842aeb02
commit fadd2ae1c8
1 changed files with 7 additions and 7 deletions

View File

@ -2915,13 +2915,13 @@ class EthOut:
out += '\n'
# Make Windows path separator look like Unix path separator
out = out.replace('\\', '/')
# Change abolute paths from cmake builds to relative paths as used
# in autotools for identical output of both build systems.
out = re.sub(r'(/[^ ]*/tools/)', '../../tools/', out)
out = re.sub(r'(/[^ ]*/epan/)', '../../epan/', out)
out = re.sub(r'(/[^ ]*/asn1/[^\s/]*)', '.', out)
out = re.sub(r'(/[^ ]*/asn1/[^\s]/)', './', out)
return out
# Change abolute paths from cmake builds to relative paths as used
# in autotools for identical output of both build systems.
out = re.sub(r'(/ [^ ]*/tools/)', '../../tools/', out)
out = re.sub(r'(/ [^ ]*/epan/)', '../../epan/', out)
out = re.sub(r'(/ [^ ]*/asn1/[^\s/]*)', '.', out)
out = re.sub(r'(/ [^ ]*/asn1/[^\s]/)', './', out)
return out
#--- dbg_print -------------------------------------------------------
def dbg_print(self):