From 2e5ba1e53ed72215e574815f4eabca99e908bdbc Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Tue, 13 Jul 2004 17:09:54 +0000 Subject: [PATCH] generalize a bit; no need to mention my user id directly --- Doc/tools/update-docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/tools/update-docs.sh b/Doc/tools/update-docs.sh index 8569da67edad..b69f448193af 100755 --- a/Doc/tools/update-docs.sh +++ b/Doc/tools/update-docs.sh @@ -7,7 +7,7 @@ # and removes it when done. if [ -z "$HOME" ] ; then - HOME=`grep fdrake /etc/passwd | sed 's|^.*:\([^:]*\):[^:]*$|\1|'` + HOME=`grep "$LOGNAME" /etc/passwd | sed 's|^.*:\([^:]*\):[^:]*$|\1|'` export HOME fi -- 2.47.3