[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-502-g7db1c8e

Ville Skyttä ville.skytta at iki.fi
Fri Nov 4 20:14:19 UTC 2011


The following commit has been merged in the master branch:
commit bbf5257209305c24e9554ec3e5a7d139505bec2d
Author: Ville Skyttä <ville.skytta at iki.fi>
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



More information about the Bash-completion-commits mailing list