Sign in
apache
/
incubator-teaclave
/
3bccc709125ae776c7795650db86774be300f6ef
/
.
/
cmake
/
scripts
/
lcov_realpath.py
blob: bf81277801b1a69d38107c4b39b35820551e8701 [
file
] [
log
] [
blame
]
#!/usr/bin/env python3
import
os
import
sys
with
open
(
sys
.
argv
[
1
])
as
f
:
for
l
in
f
:
if
l
.
startswith
(
"SF:"
):
realpath
=
os
.
path
.
realpath
(
l
[
3
:])
print
(
"SF:"
+
realpath
,
end
=
''
)
else
:
print
(
l
,
end
=
''
)