aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-12-28 15:21:59 +0000
committerRoy Marples <roy@marples.name>2007-12-28 15:21:59 +0000
commitb768255ee42530e489e9aaddf9d699f230b28feb (patch)
tree72d1808dca10b14d7b18651f5ba2400e4b1aa981
parent0c47c56cead35375cb786a7657cbbb0ab0eb4aaa (diff)
Don't install relative symlinks
-rw-r--r--src/Makefile6
1 files changed, 3 insertions, 3 deletions
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; \