Determine user via id -u -n
This commit is contained in:
parent
8c9deada09
commit
df7ccbd602
1 changed files with 1 additions and 1 deletions
2
yadm
2
yadm
|
@ -107,7 +107,7 @@ function alt() {
|
|||
#; regex for matching "<file>##SYSTEM.HOSTNAME.USER"
|
||||
match_system=$(uname -s)
|
||||
match_host=$(hostname -s)
|
||||
match_user=${USER}
|
||||
match_user=$(id -u -n)
|
||||
match="^(.+)##($match_system|$match_system.$match_host|$match_system.$match_host.$match_user|())$"
|
||||
|
||||
#; process relative to YADM_WORK
|
||||
|
|
Loading…
Reference in a new issue