* [PATCHES] 21.3.50 for Cygwin: patch 4
@ 2002-12-06 18:34 Joe Buehler
0 siblings, 0 replies; only message in thread
From: Joe Buehler @ 2002-12-06 18:34 UTC (permalink / raw)
This patch uses USERNAME if LOGNAME is not set -- Cygwin does not set
LOGNAME.
Joe Buehler
Index: ChangeLog
===================================================================
RCS file: /cvsroot/emacs/emacs/ChangeLog,v
retrieving revision 1.289
diff -u -r1.289 ChangeLog
--- ChangeLog 27 Nov 2002 22:54:07 -0000 1.289
+++ ChangeLog 6 Dec 2002 17:38:35 -0000
@@ -1,3 +1,7 @@
+2002-12-06 Joe Buehler <jhpb@draco.hekimian.com>
+
+ * Makefile.in: use USERNAME if LOGNAME is not set (for Cygwin)
+
2002-11-27 Dave Love <fx@gnu.org>
* configure.in: Use AC_CHECK_DECLS, not AC_DECL_SYS_SIGLIST.
Index: Makefile.in
===================================================================
RCS file: /cvsroot/emacs/emacs/Makefile.in,v
retrieving revision 1.271
diff -u -r1.271 Makefile.in
--- Makefile.in 11 Nov 2002 09:03:08 -0000 1.271
+++ Makefile.in 6 Dec 2002 16:34:32 -0000
@@ -397,7 +397,7 @@
(cd $${dir}; tar -chf - . ) \
| (cd $${dest}; umask 022; \
tar -xvf - && cat > /dev/null) || exit 1; \
- find $${dest} -exec chown $$LOGNAME {} ';' ;\
+ find $${dest} -exec chown $${LOGNAME:-$$USERNAME} {} ';' ;\
for subdir in `find $${dest} -type d ! -name RCS ! -name CVS -print` ; do \
chmod a+rx $${subdir} ; \
rm -rf $${subdir}/RCS ; \
@@ -436,7 +436,7 @@
echo "Copying etc/DOC-* to ${docdir} ..." ; \
(cd ./etc; tar -chf - DOC*) \
|(cd ${docdir}; umask 022; tar -xvf - && cat > /dev/null) || exit 1; \
- (cd $(docdir); chown $${LOGNAME} DOC*; chmod a+r DOC*; \
+ (cd $(docdir); chown $${LOGNAME:-$$USERNAME} DOC*; chmod a+r DOC*; \
if test "`echo DOC-*`" != "DOC-*"; then rm DOC; fi); \
else true; fi
-unset CDPATH; \
@@ -447,7 +447,7 @@
echo "Copying lisp/*.el and lisp/*.elc to ${lispdir} ..." ; \
(cd ${srcdir}/lisp; tar -chf - *.el *.elc) \
|(cd ${lispdir}; umask 022; tar -xvf - && cat > /dev/null) || exit 1; \
- (cd ${lispdir}; find . -exec chown $${LOGNAME} {} ';') ; \
+ (cd ${lispdir}; find . -exec chown $${LOGNAME:-$$USERNAME} {} ';') ; \
else true; fi
-unset CDPATH; \
thisdir=`/bin/pwd`; \
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-12-06 18:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-06 18:34 [PATCHES] 21.3.50 for Cygwin: patch 4 Joe Buehler
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.