Determine user via `id -u -n`

pull/2/head
Tim Byrne 8 years ago
parent 8c9deada09
commit df7ccbd602
  1. 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…
Cancel
Save