ensure $USER is set

This commit is contained in:
David Tomaschik
2023-08-14 21:20:31 -07:00
parent 87239b2034
commit f81410cfc0

View File

@@ -6,6 +6,8 @@ set -o nounset
set -o errexit
set -o shwordsplit 2>/dev/null || true # Make zsh behave like bash
USER=${USER:-$(id -un)}
case $(uname) in
Linux)
FINDTYPE="-xtype"