From f79293427ab259ee84ff3f46c08c9e273f4c8f0b Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 1 Oct 2012 13:24:46 +0000 Subject: [PATCH] scstadmin: Use $(DESTDIR) when uninstalling SCST 2.x startup scripts git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4536 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scstadmin/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scstadmin/Makefile b/scstadmin/Makefile index 9049bed45..dc1f8af83 100644 --- a/scstadmin/Makefile +++ b/scstadmin/Makefile @@ -67,9 +67,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; \