summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorfile <file@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-12-30 19:09:50 +0000
committerfile <file@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-12-30 19:09:50 +0000
commit1c8d37674171447cb9529db2f0c6b2e12abe3bc8 (patch)
tree6813cfeabfef9f2950d09c59c82b5186a015be43 /Makefile
parent64127e55a027d4c409eed6026d4702e728ea2442 (diff)
Specify full path to restorecon instead of assuming it will be available from what is in $PATH. (issue #8671 reported by djflux)
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1773 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5d32e37..58927e4 100644
--- a/Makefile
+++ b/Makefile
@@ -344,7 +344,7 @@ endif
$(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER)
ln -sf $(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER).$(LIBTONEZONE_SO_MINOR_VER) \
$(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO)
- if [ -x /usr/sbin/sestatus ] && (/usr/sbin/sestatus | grep "SELinux status:" | grep -q "enabled") ; then restorecon -v $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO); fi
+ if [ -x /usr/sbin/sestatus ] && (/usr/sbin/sestatus | grep "SELinux status:" | grep -q "enabled") ; then /sbin/restorecon -v $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO); fi
install -D -m 644 zaptel.h $(INSTALL_PREFIX)/usr/include/linux/zaptel.h
install -D -m 644 torisa.h $(INSTALL_PREFIX)/usr/include/linux/torisa.h
install -D -m 644 tonezone.h $(INSTALL_PREFIX)/usr/include/tonezone.h