From b768255ee42530e489e9aaddf9d699f230b28feb Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 28 Dec 2007 15:21:59 +0000 Subject: Don't install relative symlinks --- src/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/Makefile b/src/Makefile index c9df27eb..c4e9268a 100644 --- a/src/Makefile +++ b/src/Makefile @@ -147,10 +147,10 @@ install:: $(TARGET) install -m 0444 $(SYS_WHITELIST) $(DESTDIR)/$(RC_LIB)/conf.d install -d $(DESTDIR)/$(RC_LIB)/bin install -d $(DESTDIR)/$(RC_LIB)/sbin - for x in $(BINLINKS); do ln -sf ../sbin/rc $(DESTDIR)/bin/$$x; done + for x in $(BINLINKS); do ln -sf /sbin/rc $(DESTDIR)/bin/$$x; done for x in $(SBINLINKS); do ln -sf rc $(DESTDIR)/sbin/$$x; done - for x in $(RC_BINLINKS); do ln -sf ../../../sbin/rc $(DESTDIR)/$(RC_LIB)/bin/$$x; done - for x in $(RC_SBINLINKS); do ln -sf ../../../sbin/rc $(DESTDIR)/$(RC_LIB)/sbin/$$x; done + for x in $(RC_BINLINKS); do ln -sf /sbin/rc $(DESTDIR)/$(RC_LIB)/bin/$$x; done + for x in $(RC_SBINLINKS); do ln -sf /sbin/rc $(DESTDIR)/$(RC_LIB)/sbin/$$x; done if test "$(PAM)" = "pam"; then \ install -d $(DESTDIR)/etc/pam.d; \ install -m 0644 start-stop-daemon.pam $(DESTDIR)/etc/pam.d/start-stop-daemon; \ -- cgit v1.2.3