From 6c9158458022fce427c5ee7a3fb357cc5ed6e5e2 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Sun, 14 Mar 2010 19:11:14 +0000 Subject: [PATCH] Don't provide destructive instructions If /usr/local doesn't exist you've just sudo chowned $PWD --- README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 87ad381817..59e48a1213 100644 --- a/README.md +++ b/README.md @@ -10,16 +10,15 @@ Run and afterwards, [install Xcode][xcode]. Umm… I thought I could install it anywhere? ------------------------------------------- -Indeed, you can. Please read our [complete installation instructions][install]. +Indeed, you can. Refer to our [complete installation instructions][install]. -Dude! Just give me a three-liner! --------------------------------------- +Dude! Just give me a two-liner! +------------------------------- Alright then… as long as you know what you are doing: - cd /usr/local - sudo chown -R $USER . - curl -Lsf http://github.com/mxcl/homebrew/tarball/master | tar xz --strip 1 + sudo chown -R $USER /usr/local + curl -Lsf http://github.com/mxcl/homebrew/tarball/master | tar xvz -C/usr/local --strip 1 More Documentation