Patchwork [Open-FCoE,1/7] Add missing 'DESTDIR' when installing bash completion

login
register
mail settings
Submitter Hannes Reinecke
Date Dec. 6, 2013, 11:51 a.m.
Message ID <1386330717-15616-2-git-send-email-hare@suse.de>
Download mbox | patch
Permalink /patch/130/
State Accepted
Headers show

Comments

Hannes Reinecke - Dec. 6, 2013, 11:51 a.m.
Signed-off-by: Hannes Reinecke <hare@suse.de>
---
 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/Makefile.am b/Makefile.am
index 5cbc15f..e93aa8f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -67,7 +67,7 @@  init_d_SCRIPTS = etc/initd/fcoe
 
 dist_noinst_DATA = README COPYING INSTALL fcoe-utils.spec etc/config
 
-BASH_COMPLETION_DIR=/etc/bash_completion.d/
+BASH_COMPLETION_DIR=$(DESTDIR)/etc/bash_completion.d/
 
 install-data-hook:
 	if [ ! -f ${DESTDIR}${fcoe_configdir}/config ] ; then \