Mac installer: Fix a very old bug

svn path=/trunk/boinc/; revision=24467
This commit is contained in:
Charlie Fenton 2011-10-24 09:16:02 +00:00
parent 6c0bae7fb2
commit 968d96f8b6
2 changed files with 8 additions and 2 deletions

View File

@ -7700,3 +7700,9 @@ David 23 Oct 2011
Not sure why that was in there. Not sure why that was in there.
html/inc/ html/inc/
forum_rss.inc forum_rss.inc
Charlie 24 Oct 2011
- Mac installer: Fix a very old bug.
mac_build/
Mac_SA_Secure.sh

View File

@ -63,7 +63,7 @@
# #
# Updated 1/28/10 for BOINC version 6.8.20, 6.10.30 and 6.11.1 # Updated 1/28/10 for BOINC version 6.8.20, 6.10.30 and 6.11.1
# Last updated 8/12/11 for OS 10.7 Lion # Last updated 10/24/11 for OS 10.7.2 Lion
# WARNING: do not use this script with versions of BOINC older # WARNING: do not use this script with versions of BOINC older
# than 6.8.20 and 6.10.30 # than 6.8.20 and 6.10.30
@ -97,7 +97,7 @@ function make_boinc_user() {
# uid=gid already in use, so find an unused user ID # uid=gid already in use, so find an unused user ID
uid="25" uid="25"
while true; do while true; do
name=$(dscl . search /groups UniqueID $uid | cut -f1 -s) name=$(dscl . search /users UniqueID $uid | cut -f1 -s)
if [ -z "$name" ] ; then if [ -z "$name" ] ; then
break break
fi fi