The following commit has been merged in the master branch:
commit bbf5257209305c24e9554ec3e5a7d139505bec2d
Author: Ville Skyttä <[email protected]>
Date:   Fri Nov 4 22:05:46 2011 +0200

    install-data-hook: Avoid problematic mode bits for bash_completion from 
mktemp.

diff --git a/Makefile.am b/Makefile.am
index 3441b63..5f282b8 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

-- 
bash-completion

_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-commits

Reply via email to