Fix install script for Ruby 1.9.x
This commit is contained in:
parent
ab66113f0b
commit
c1568ab277
@ -36,7 +36,7 @@ def sudo *args
|
|||||||
args = if args.length > 1
|
args = if args.length > 1
|
||||||
args.unshift "/usr/bin/sudo"
|
args.unshift "/usr/bin/sudo"
|
||||||
else
|
else
|
||||||
"/usr/bin/sudo #{args}"
|
"/usr/bin/sudo #{args.first}"
|
||||||
end
|
end
|
||||||
ohai *args
|
ohai *args
|
||||||
system *args
|
system *args
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user