[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-relays] Help With Autoupdating Tor Software




> On 2 May 2018, at 03:58, Keifer Bly <keifer.bly@xxxxxxxxx> wrote:
> 
> do shell script "$ which brew
> /usr/local/bin/brew update"
> do shell script "$ which brew
> /usr/local/bin/brew upgrade tor"
> end
> 
> 
> When the script is run, the output is this:

$ which brew

> sh: $: command not found

/usr/local/bin/brew upgrade tor

> Error: tor 0.3.2.10 already installed
> 
> So it seems to be that it updates tor ok but when it tries to update homebrew the error is “command not found”.

No, bash can't find the $ command.
This is probably a copy-paste error.

Try running the lines of your script one at a time in the terminal.

Or just remove the "$ which brew" line, it doesn't do anything.

T
_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays