From 5992f213d79a5fe8568b3029f9397646a34b8871 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 27 Oct 2012 23:18:08 +0200 Subject: build: Preserve the executable bit of bootstrap binaries. * Makefile.am (install-data-hook): New target. --- Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index cf3e16bbc6..10f3b61702 100644 --- a/Makefile.am +++ b/Makefile.am @@ -87,6 +87,11 @@ nodist_bootstrap_x86_64_linux_DATA = \ nodist_bootstrap_i686_linux_DATA = \ distro/packages/bootstrap/i686-linux/guile-bootstrap-2.0.6.tar.xz +# Those files must remain executable, so they remain executable once +# imported into the store. +install-data-hook: + chmod +x $(DESTDIR)$(bootstrapdir)/*/{bash,mkdir,tar,xz} + DISTCLEANFILES = \ $(nodist_bootstrap_x86_64_linux_DATA) \ $(nodist_bootstrap_i686_linux_DATA) -- cgit v1.2.3