/usr/share/syfi/demo/cleanall.py is in syfi-doc 1.0.0.dfsg-1.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #!/usr/bin/env python
import os
from glob import glob
for f in glob("*"):
if os.path.isdir(f):
os.chdir(f)
if os.path.isdir("cpp"):
os.chdir("cpp")
if os.path.exists("Makefile"):
os.system("make clean")
os.chdir("..")
if os.path.isdir("python"):
os.chdir("python")
if os.path.exists("Makefile"):
os.system("make clean")
os.chdir("..")
os.chdir("..")
|