diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2011-11-04 22:05:46 +0200 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2011-11-04 22:05:46 +0200 |
commit | bbf5257209305c24e9554ec3e5a7d139505bec2d (patch) | |
tree | 280471a22dd962dd9279d6e5fbe1e2b87dc1106b | |
parent | 0b4f7977002ce12060f596e430c00c73dc91d857 (diff) | |
download | bash-completion-bbf5257209305c24e9554ec3e5a7d139505bec2d.tar.gz |
install-data-hook: Avoid problematic mode bits for bash_completion from mktemp.
-rw-r--r-- | Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
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 |