From de6e2d75b6b6287bee74ed6e4eb6f087dec06384 Mon Sep 17 00:00:00 2001 From: Jeffrey C. Ollie Date: Fri, 5 Sep 2008 09:43:53 -0500 Subject: [PATCH] Fix install of ifup-hdlc when installing into an alternate root directory. --- Makefile | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7f298ef..2a64b1f 100644 --- a/Makefile +++ b/Makefile @@ -72,9 +72,9 @@ MODULES_FILE = /etc/dahdi/modules MODPROBE_FILE = /etc/modprobe.d/dahdi BLACKLIST_FILE = /etc/modprobe.d/dahdi.blacklist -NETSCR_DIR := $(firstword $(wildcard /etc/sysconfig/network-scripts )) +NETSCR_DIR := $(firstword $(wildcard $(DESTDIR)/etc/sysconfig/network-scripts )) ifneq (,$(NETSCR_DIR)) - NETSCR_TARGET := $(DESTDIR)$(NETSCR_DIR)/ifup-hdlc + NETSCR_TARGET := $(NETSCR_DIR)/ifup-hdlc COPY_NETSCR := install -D ifup-hdlc $(NETSCR_TARGET) endif -- 1.5.5.2