diff options
author | Fred Drake <fdrake@acm.org> | 2004-07-13 17:08:10 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2004-07-13 17:08:10 (GMT) |
commit | 0751d554c0e9a8a2a0986d3003d00d11e516d1f8 (patch) | |
tree | 2efb38696c71d4be4d1b7be3116ce3ac7f0c6a25 | |
parent | 2a510ce119505b8345a0a3d6767caf0e2a8f6f7b (diff) | |
download | cpython-0751d554c0e9a8a2a0986d3003d00d11e516d1f8.zip cpython-0751d554c0e9a8a2a0986d3003d00d11e516d1f8.tar.gz cpython-0751d554c0e9a8a2a0986d3003d00d11e516d1f8.tar.bz2 |
generalize a bit; no need to mention my user id directly
-rwxr-xr-x | Doc/tools/update-docs.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tools/update-docs.sh b/Doc/tools/update-docs.sh index 3c0a643..6599c64 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 |