Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a510ce commit 0751d55Copy full SHA for 0751d55
1 file changed
Doc/tools/update-docs.sh
@@ -7,7 +7,7 @@
7
# and removes it when done.
8
9
if [ -z "$HOME" ] ; then
10
- HOME=`grep fdrake /etc/passwd | sed 's|^.*:\([^:]*\):[^:]*$|\1|'`
+ HOME=`grep "$LOGNAME" /etc/passwd | sed 's|^.*:\([^:]*\):[^:]*$|\1|'`
11
export HOME
12
fi
13
0 commit comments