mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Merge branch '1.8.x'
This commit is contained in:
@@ -80,15 +80,16 @@ with tempfile.TemporaryDirectory() as cmdir:
|
||||
with tempfile.TemporaryDirectory() as build:
|
||||
command = ['cmake', cmdir]
|
||||
if args.verbose > 1:
|
||||
cmd.append('--debug-output')
|
||||
command.append('--debug-output')
|
||||
if args.verbose > 2:
|
||||
cmd.append('--trace')
|
||||
command.append('--trace')
|
||||
if args.verbose > 0:
|
||||
print(command)
|
||||
subprocess.check_call(command, cwd=build)
|
||||
subprocess.check_call(['cmake', '--build', '.'], cwd=build)
|
||||
|
||||
for so in glob.iglob(os.path.join(build, '*.so')):
|
||||
print('Writing {}'.format(os.path.join(os.getcwd(), os.path.basename(so))))
|
||||
try:
|
||||
os.remove(os.path.basename(so))
|
||||
except OSError:
|
||||
|
||||
Reference in New Issue
Block a user