fix fix-htop

This commit is contained in:
Ivan Malison 2016-03-15 16:26:51 -07:00
parent 92bed9d6cb
commit 5bb17c68e1

View File

@ -146,7 +146,7 @@ def cl_tools(ctx):
@ctask @ctask
def fix_htop(ctx): def fix_htop(ctx):
real_htop_location = ctx.run( real_htop_location = ctx.run(
"zsh -c 'greadlink -f $(brew --prefix htop)'" "zsh -c 'greadlink -f $(brew --prefix htop-osx)'"
).stdout.strip() + "/bin/htop" ).stdout.strip() + "/bin/htop"
ctx.run("sudo chmod 6555 {0}".format(real_htop_location)) ctx.run("sudo chmod 6555 {0}".format(real_htop_location))
ctx.run("sudo chown root {0}".format(real_htop_location)) ctx.run("sudo chown root {0}".format(real_htop_location))