git.ucc.asn.au
/
zanchey
/
uccpass.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d281445
)
uccpass: don't assume $USER is set from the shell
author
David Adam
<
[email protected]
>
Mon, 6 Mar 2017 14:55:05 +0000
(22:55 +0800)
committer
David Adam
<
[email protected]
>
Mon, 6 Mar 2017 14:55:05 +0000
(22:55 +0800)
uccpass
patch
|
blob
|
history
diff --git
a/uccpass
b/uccpass
index
1c453e3
..
f399803
100755
(executable)
--- a/
uccpass
+++ b/
uccpass
@@
-37,6
+37,7
@@
init () {
export PASSWORD_STORE_DIR="$UCCPASS_ROOT/store"
export PASSWORD_STORE_UMASK=007
+ USER=`whoami`
export GIT_AUTHOR_EMAIL="
[email protected]
"
export GIT_AUTHOR_NAME="`getent passwd $USER | cut -d: -f5`"
UCC
git Repository :: git.ucc.asn.au