macos: Handle when a build user doesn't have a user ID

(cherry picked from commit 4eb40c72ed)
This commit is contained in:
Graham Christensen 2018-03-30 13:57:00 -04:00
parent 985f0dafe8
commit b037be7e33
No known key found for this signature in database
GPG Key ID: ACA1C1D120C83D5C
1 changed files with 2 additions and 2 deletions

View File

@ -453,10 +453,10 @@ create_build_user_for_core() {
row " Created" "Yes"
else
actual_uid=$(poly_user_id_get "$username")
if [ "$actual_uid" -ne "$uid" ]; then
if [ "$actual_uid" != "$uid" ]; then
failure <<EOF
It seems the build user $username already exists, but with the UID
with the UID $actual_uid. This script can't really handle that right
with the UID '$actual_uid'. This script can't really handle that right
now, so I'm going to give up.
If you already created the users and you know they start from