diff --git a/bash/usr-local-bin/homebrew b/bash/usr-local-bin/homebrew index d27ee24..4a1e7e1 100755 --- a/bash/usr-local-bin/homebrew +++ b/bash/usr-local-bin/homebrew @@ -17,13 +17,13 @@ if [ -d /var/roothome ]; then fi cd /home/linuxbrew/.linuxbrew/bin/ - cp brew brew2 - sed -i 's/pwd\ \-P/pwd/g' brew2 + cp /home/linuxbrew/.linuxbrew/bin/brew /home/linuxbrew/.linuxbrew/bin/brew2 + sed -i 's/pwd\ \-P/pwd/g' /home/linuxbrew/.linuxbrew/bin/brew2 touch "/tmp/brew.$(id -u).$(date -I)" fi - env brew2 $@ + /home/linuxbrew/.linuxbrew/bin/brew2 $@ set +x else - env brew $@ + /home/linuxbrew/.linuxbrew/bin/brew $@ fi diff --git a/bash/usr-local-bin/linuxbrew b/bash/usr-local-bin/linuxbrew new file mode 120000 index 0000000..15eff45 --- /dev/null +++ b/bash/usr-local-bin/linuxbrew @@ -0,0 +1 @@ +homebrew \ No newline at end of file