tobiko/tools/ci/realpath.py
Federico Ressi eb10374b68 Move realpath implementation tools/ci/activate
Change-Id: Ie1523acbe5b30be90ec21bf825ac54ce809db454
2020-01-23 12:16:06 +01:00

10 lines
180 B
Python
Executable File

#!/usr/bin/env python
import os
import sys
args = sys.argv[1:] or ['.']
results = [os.path.realpath(a) for a in args]
output = '\n'.join(results) + '\n'
sys.stdout.write(output)