From: Fred Drake Date: Tue, 13 Jul 2004 17:08:10 +0000 (+0000) Subject: generalize a bit; no need to mention my user id directly X-Git-Tag: v2.4a2~283 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0751d554c0e9a8a2a0986d3003d00d11e516d1f8;p=python generalize a bit; no need to mention my user id directly --- diff --git a/Doc/tools/update-docs.sh b/Doc/tools/update-docs.sh index 3c0a6437ab..6599c64d11 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