I am having trouble getting a script to run with the proper directories and files
<p>I am attempting to install Homebrew using <a href="https://gist.github.com/skyl/36563a5be809e54dc139" rel="nofollow noreferrer">this script</a> from <a href="https://superuser.com/questions/619498/can-i-install-homebrew-without-sudo-privileges/881681#881681">this SuperUser answer</a>.</p>

<p>However, I am having trouble getting the directories on my machine to be setup correctly.</p>

<p>The closest I got was changing this:</p>

<pre><code>YOUR_HOME = ''

HOMEBREW_PREFIX = "#{YOUR_HOME}/usr/local"
</code></pre>

<p>To this:</p>

<pre><code>YOUR_HOME = ''

HOMEBREW_PREFIX = "usr/local"
</code></pre>

<p>The file was in and run from <code>Users/&lt;User_name&gt;</code>, but I got this output:</p>

<pre><code>==&gt; This script will install:
usr/local/bin/brew
usr/local/Library/...
usr/local/share/man/man1/brew.1

Press RETURN to continue or any other key to abort
mkdir: usr: No such file or directory
Failed during: /bin/mkdir usr/local
</code></pre>

<p>My files at the moment are setup like this:</p>

<p><a href="https://i.stack.imgur.com/NPT9x.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NPT9x.png" alt="enter image description here"></a></p>

<p>Any suggestions?</p>