Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ale5000-git committed Sep 4, 2023
1 parent 2a41c75 commit e315687
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions zip-content/zip-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ command 1> /dev/null -v whoami ||
{
whoami()
{
_whomi_val="$(id | grep -o -m '1' -e "uid=[0-9]*([a-z]*)" | grep -o -e "([a-z]*)")" || return "${?}"
_whomi_val="${_whomi_val#\(}"
_whomi_val="${_whomi_val%\)}"
echo "${_whomi_val?}"
unset _whomi_val
_whoami_val="$(id | grep -o -m '1' -e "uid=[0-9]*([a-z]*)" | grep -o -e "([a-z]*)")" || return "${?}"
_whoami_val="${_whoami_val#\(}"
_whoami_val="${_whoami_val%\)}"
echo "${_whoami_val?}"
unset _whoami_val
}
}

Expand Down

0 comments on commit e315687

Please sign in to comment.