configure.ac: generate lxc-* as executable

This allows them to be executed directly, and symlinked from
/usr/share/lxc/templates/ to the build directory for easier testing with
a system-installed lxc.

Signed-off-by: Antonio Terceiro <terceiro@debian.org>
This commit is contained in:
Antonio Terceiro
2022-04-10 06:31:35 -03:00
parent 5479240fbd
commit 4b041f1d18
+3 -1
View File
@@ -214,7 +214,9 @@ AC_CONFIG_FILES([
templates/lxc-sparclinux
templates/lxc-voidlinux
templates/lxc-sabayon
])
],
if test "${ac_file##templates/lxc-}" != "${ac_file}"; then chmod +x $ac_file; fi
)
AC_CONFIG_COMMANDS([default],[[]],[[]])
AC_OUTPUT