From bbf5257209305c24e9554ec3e5a7d139505bec2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Fri, 4 Nov 2011 22:05:46 +0200 Subject: install-data-hook: Avoid problematic mode bits for bash_completion from mktemp. --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 3441b630..5f282b83 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,4 +20,5 @@ install-data-hook: tmpfile=`mktemp $${TMPDIR:-/tmp}/bash_completion.XXXXXX` && \ sed -e 's|=/etc/bash_completion\.d|=$(sysconfdir)/bash_completion.d|' \ $(DESTDIR)$(pkgdatadir)/bash_completion > $$tmpfile && \ - mv $$tmpfile $(DESTDIR)$(pkgdatadir)/bash_completion + cat $$tmpfile > $(DESTDIR)$(pkgdatadir)/bash_completion && \ + rm $$tmpfile -- cgit v1.2.1