mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-04-25 22:54:41 +00:00
Most, but not all, files in scripts have execute permission. While we don't need this in order to launch them via meson/ninja build rules, it is nice to direct execution if they have execution permission. This makes the practice consistent across all scripts. Reviewed-by: Pavel Hrdina <phrdina@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
10 lines
197 B
Python
Executable File
10 lines
197 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import os
|
|
import sys
|
|
|
|
destdir = os.environ.get('DESTDIR', os.sep)
|
|
|
|
for dirname in sys.argv[1:]:
|
|
os.makedirs(os.path.join(destdir, dirname.strip(os.sep)), exist_ok=True)
|