mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
Let's always explicitly set permissions on installed files.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3271 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -46,8 +46,8 @@ include/iscsi_scst_itf_ver.h: include/iscsi_scst.h
|
||||
echo "\"`sha1sum include/iscsi_scst.h|awk '{printf $$1}'`\"" >>include/iscsi_scst_itf_ver.h
|
||||
|
||||
install: all
|
||||
@install -vD usr/iscsi-scstd $(DESTDIR)$(SBINDIR)/iscsi-scstd
|
||||
@install -vD usr/iscsi-scst-adm $(DESTDIR)$(SBINDIR)/iscsi-scst-adm
|
||||
@install -vD -m 755 usr/iscsi-scstd $(DESTDIR)$(SBINDIR)/iscsi-scstd
|
||||
@install -vD -m 755 usr/iscsi-scst-adm $(DESTDIR)$(SBINDIR)/iscsi-scst-adm
|
||||
if [ -f /etc/debian_version ]; then \
|
||||
install -vD -m 755 etc/initd/initd.debian $(DESTDIR)$(INITDIR)/iscsi-scst; \
|
||||
elif [ -f /etc/redhat-release ]; then \
|
||||
|
||||
@@ -23,8 +23,8 @@ include/iscsi_scst_itf_ver.h: include/iscsi_scst.h
|
||||
echo "\"`sha1sum include/iscsi_scst.h|awk '{printf $$1}'`\"" >>include/iscsi_scst_itf_ver.h
|
||||
|
||||
install: all
|
||||
@install -vD usr/iscsi-scstd $(DESTDIR)$(SBINDIR)/iscsi-scstd
|
||||
@install -vD usr/iscsi-scst-adm $(DESTDIR)$(SBINDIR)/iscsi-scst-adm
|
||||
@install -vD -m 755 usr/iscsi-scstd $(DESTDIR)$(SBINDIR)/iscsi-scstd
|
||||
@install -vD -m 755 usr/iscsi-scst-adm $(DESTDIR)$(SBINDIR)/iscsi-scst-adm
|
||||
if [ -f /etc/debian_version ]; then \
|
||||
install -vD -m 755 etc/initd/initd.debian $(DESTDIR)$(INITDIR)/iscsi-scst; \
|
||||
elif [ -f /etc/redhat-release ]; then \
|
||||
|
||||
Reference in New Issue
Block a user