I noticed an error in console output after installing B2. I tracked it down to this line in the InstallationCheck script:
Using 'sysctl -bn' results in the value coming out as an 8-byte binary, rather than getting the time in seconds in ASCII, as the shell expects.
I don't know a really clean way to get the value desired, but something like
works. (Yuck!)
P.S. If 'http' inserts itself one more time above, just remove it mentally. Neither 'noformat' nor 'code' seem to be helping me treat square brackets literally.
if [http:// sysctl -bn kern.boottime` -lt `stat -f %c /mach_kernel` |http:// sysctl -bn kern.boottime` -lt `stat -f %c /mach_kernel` ]; then
Using 'sysctl -bn' results in the value coming out as an 8-byte binary, rather than getting the time in seconds in ASCII, as the shell expects.
I don't know a really clean way to get the value desired, but something like
sysctl -n kern.boottime | awk '{ print $4 }' | cut -f 1 -d ,
works. (Yuck!)
P.S. If 'http' inserts itself one more time above, just remove it mentally. Neither 'noformat' nor 'code' seem to be helping me treat square brackets literally.