changeset 85818:3a3ff756c20c

(install): Change ownership of installed files.
author Glenn Morris <rgm@gnu.org>
date Wed, 31 Oct 2007 03:17:41 +0000
parents 8c5b590456c4
children 50db25792c24
files leim/Makefile.in
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/leim/Makefile.in	Wed Oct 31 03:15:33 2007 +0000
+++ b/leim/Makefile.in	Wed Oct 31 03:17:41 2007 +0000
@@ -251,6 +251,11 @@
 	    done) \
 	else true; fi
 	-chmod -R a+r ${INSTALLDIR}
+	for installuser in $${LOGNAME} $${USERNAME} $${USER} \
+	  `id -un 2> /dev/null`; do \
+	  [ -n "$${installuser}" ] && break ; \
+	done ; \
+	find ${INSTALLDIR} -exec chown $${installuser} '{}' ';'
 
 clean mostlyclean:
 	rm -f ${TIT-MISC} ${TIT-MISC:.elc=.el} \