Removed TAB as indent.
Fixed regex for modifying absolute paths in header. svn path=/trunk/; revision=51776
This commit is contained in:
parent
8b842aeb02
commit
fadd2ae1c8
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue