build: Use separate `AC_CONFIG_FILES' invocations for executable files.

* configure.ac: Use separate AC_CONFIG_FILES invocations for files that
  need to be made executable.
* config-daemon.ac: Likewise.
This commit is contained in:
Ludovic Courtès 2013-05-12 23:26:46 +02:00
parent f5ebf5c6ac
commit e8b3afeb92
2 changed files with 7 additions and 7 deletions

View File

@ -101,9 +101,10 @@ if test "x$guix_build_daemon" = "xyes"; then
AC_MSG_RESULT([$GUIX_TEST_ROOT]) AC_MSG_RESULT([$GUIX_TEST_ROOT])
AC_SUBST([GUIX_TEST_ROOT]) AC_SUBST([GUIX_TEST_ROOT])
AC_CONFIG_FILES([nix/scripts/list-runtime-roots AC_CONFIG_FILES([nix/scripts/list-runtime-roots],
nix/scripts/substitute-binary], [chmod +x nix/scripts/list-runtime-roots])
[chmod +x nix/scripts/list-runtime-roots nix/scripts/substitute-binary]) AC_CONFIG_FILES([nix/scripts/substitute-binary],
[chmod +x nix/scripts/substitute-binary])
fi fi
AM_CONDITIONAL([BUILD_DAEMON], [test "x$guix_build_daemon" = "xyes"]) AM_CONDITIONAL([BUILD_DAEMON], [test "x$guix_build_daemon" = "xyes"])

View File

@ -120,9 +120,8 @@ AC_CONFIG_FILES([Makefile
po/Makefile.in po/Makefile.in
guix/config.scm]) guix/config.scm])
AC_CONFIG_FILES([scripts/guix AC_CONFIG_FILES([scripts/guix], [chmod +x scripts/guix])
pre-inst-env AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env])
test-env], AC_CONFIG_FILES([test-env], [chmod +x test-env])
[chmod +x scripts/guix pre-inst-env test-env])
AC_OUTPUT AC_OUTPUT