Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
snap /
gnome-42-2204 /
202 /
usr /
share /
mm-common /
build /
[ HOME SHELL ]
Name
Size
Permission
Action
check-dllexport-usage.py
2.95
KB
-rw-r--r--
compile-binding.am
2.71
KB
-rw-r--r--
dist-build-scripts.py
1.99
KB
-rwxr-xr-x
dist-changelog.am
1.23
KB
-rw-r--r--
dist-changelog.py
828
B
-rwxr-xr-x
doc-reference.am
8.91
KB
-rw-r--r--
doc-reference.py
6.55
KB
-rwxr-xr-x
generate-binding.am
3.92
KB
-rw-r--r--
generate-binding.py
6.93
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : dist-build-scripts.py
#!/usr/bin/env python3 # External command, intended to be called with meson.add_dist_script() in meson.build # argv[1] argv[2] argv[3:] # dist-build-scripts.py <root_src_dir> <script_dir> <no_dist>... # <script_dir> The directory with the build scripts, relative to <root_source_dir>. # <no_dist> Zero or more names (relative to MESON_PROJECT_DIST_ROOT) # of files and directories that shall not be distributed. import os import sys import shutil # MESON_PROJECT_DIST_ROOT is set only if meson.version() >= 0.58.0. project_dist_root = os.getenv('MESON_PROJECT_DIST_ROOT', os.getenv('MESON_DIST_ROOT')) src_script_dir = os.path.join(sys.argv[1], sys.argv[2]) dist_script_dir = os.path.join(project_dist_root, sys.argv[2]) # Create the distribution script directory, if it does not exist. os.makedirs(dist_script_dir, exist_ok=True) # Distribute files that mm-common-get has copied to src_script_dir. files = [ 'check-dllexport-usage.py', 'dist-build-scripts.py', 'dist-changelog.py', 'doc-reference.py', 'generate-binding.py' ] for file in files: shutil.copy(os.path.join(src_script_dir, file), dist_script_dir) # Don't distribute .gitignore files. for dirpath, dirnames, filenames in os.walk(project_dist_root): if '.gitignore' in filenames: os.remove(os.path.join(dirpath, '.gitignore')) # Remove an empty MESON_PROJECT_DIST_ROOT/build directory. dist_build_dir = os.path.join(project_dist_root, 'build') if os.path.isdir(dist_build_dir): try: os.rmdir(dist_build_dir) except OSError: # Ignore the error, if not empty. pass # Remove specified files and directories from the MESON_PROJECT_DIST_ROOT directory. for rel_path in sys.argv[3:]: abs_path = os.path.join(project_dist_root, rel_path) if os.path.isfile(abs_path): os.remove(abs_path) elif os.path.isdir(abs_path): shutil.rmtree(abs_path, ignore_errors=True) else: # Ignore non-existent files and directories. print('--- Info:', abs_path, 'not found, not removed.')
Close