Consolidate sudo checks.

Closes #20318.
abcMIDI 2013-06-07

Closes #20360.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
ld64: fix whitespace
rakudo-star 2013.05

Closes #20362.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>