summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2004-07-13 17:08:10 (GMT)
committerFred Drake <fdrake@acm.org>2004-07-13 17:08:10 (GMT)
commit0751d554c0e9a8a2a0986d3003d00d11e516d1f8 (patch)
tree2efb38696c71d4be4d1b7be3116ce3ac7f0c6a25 /Doc/tools
parent2a510ce119505b8345a0a3d6767caf0e2a8f6f7b (diff)
downloadcpython-0751d554c0e9a8a2a0986d3003d00d11e516d1f8.zip
cpython-0751d554c0e9a8a2a0986d3003d00d11e516d1f8.tar.gz
cpython-0751d554c0e9a8a2a0986d3003d00d11e516d1f8.tar.bz2
generalize a bit; no need to mention my user id directly
Diffstat (limited to 'Doc/tools')
-rwxr-xr-xDoc/tools/update-docs.sh2
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