diff --git a/znc-buildmod.cmake.in b/znc-buildmod.cmake.in index ddd9217b..bfb92d4a 100755 --- a/znc-buildmod.cmake.in +++ b/znc-buildmod.cmake.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: