diff --git a/scstadmin/Makefile b/scstadmin/Makefile index c6791f5cf..72bb5b831 100644 --- a/scstadmin/Makefile +++ b/scstadmin/Makefile @@ -85,7 +85,7 @@ install install_vendor: done # Remove the files that are obsolete since SCST-SCST has been # renamed into SCST_SCST. - rm -rf "$$(/usr/bin/perl -V:sitearch | sed "s|.*='||;s|'.*||")/auto/SCST-SCST" + rm -rf "$(DESTDIR)$$(/usr/bin/perl -V:sitearch | sed "s|.*='||;s|'.*||")/auto/SCST-SCST" # Install the files that have just been built. install -d $(DESTDIR)$(INITDIR) tmp=/tmp/scst-initd-$$$$ && init.d/scst >$$tmp && \