From 4b041f1d18798ada808abea5ecf0eb2a4c7670c7 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Sun, 10 Apr 2022 06:20:14 -0300 Subject: [PATCH] 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 --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index fbabc94..fc3c074 100644 --- a/configure.ac +++ b/configure.ac @@ -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