From e991bd48452cd9e024054aa4af6e3b000f917e6a Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 3 Nov 2012 14:42:15 +0000 Subject: [PATCH] scstadmin: Use $(DESTDIR) when uninstalling SCST 2.x startup scripts (merge r4536 from trunk) git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4590 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scstadmin/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scstadmin/Makefile b/scstadmin/Makefile index fc0517b36..19d13bb8f 100644 --- a/scstadmin/Makefile +++ b/scstadmin/Makefile @@ -62,9 +62,9 @@ install: fi @if [ "$(REMOVE_INITD_CMD)" != "none" ]; then \ $(REMOVE_INITD_CMD) iscsi-scst >/dev/null 2>&1; \ - rm -f $(INITDIR)/iscsi-scst; \ + rm -f $(DESTDIR)$(INITDIR)/iscsi-scst; \ $(REMOVE_INITD_CMD) qla2x00t >/dev/null 2>&1; \ - rm -f $(INITDIR)/qla2x00t; \ + rm -f $(DESTDIR)$(INITDIR)/qla2x00t; \ fi @if [ "$(INSTALL_INITD_CMD)" != "none" ]; then \ echo; \