From 7c3ea395404ba9d25cd7c5935d6624cab9a688d4 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Sun, 11 Nov 2007 00:13:11 +0000 Subject: [PATCH] Only update our files if PREFIX is non null and not / --- Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index a5b26cb..d1a7c58 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ install: $(INSTALL) resolvconf $(BINDIR) $(INSTALL) libc dnsmasq named $(UPDATEDIR) $(INSTALL) -m 644 resolvconf.8 $(MANDIR) - if test "$(PREFIX)" "!=" "/"; then \ + if test "$(PREFIX)" "!=" "/" && test -n "$(PREFIX)"; then \ for x in $(BINDIR)/resolvconf $(UPDATEDIR)/libc $(UPDATEDIR)/dnsmasq $(UPDATEDIR)/named; do \ sed -i.bak -e s':^PREFIX=.*:PREFIX="$(PREFIX)":' "$$x"; rm "$$x".bak; \ done; \ -- 1.7.1