mirror of
https://github.com/rkd77/elinks.git
synced 2024-09-06 23:44:43 -04:00
11 lines
385 B
Python
Executable File
11 lines
385 B
Python
Executable File
#!/usr/bin/python3
|
|
|
|
import os
|
|
|
|
if __name__ == '__main__':
|
|
podir = os.path.dirname(os.path.realpath(__file__))
|
|
topsrcdir = os.path.abspath(os.path.join(podir, '..'))
|
|
potfiles = os.path.join(podir, 'potfiles.list')
|
|
os.chdir(topsrcdir)
|
|
os.system("find src/ -type f -name '*.[ch]' -o -name '*.cpp' -o -name options.inc -o -name 'actions-*.inc' | sort > %s" % potfiles)
|