The "||" is a logical OR in the shell. If the "unzip -v" command fails it will (by UNIX convention) return a non-zero exit code which means "false". The only plausible reason for "unzip v" to fail is that there is no "unzip" command in the PATH, usually meaning that "unzip" is not installed. And so the "pacman" command will be run.
Compling Stockfish on Windows 10-64bit using cygwin
Moderators: hgm, Rebel, chrisw
-
- Posts: 4052
- Joined: Thu May 15, 2008 9:57 pm
- Location: Berlin, Germany
- Full name: Sven Schüle
Re: Compling Stockfish on Windows 10-64bit using cygwin
Sven Schüle (engine author: Jumbo, KnockOut, Surprise)
-
- Posts: 215
- Joined: Sun Feb 24, 2008 2:08 am
Re: Compling Stockfish on Windows 10-64bit using cygwin
Thanks for the clear explanation Sven.Sven wrote: ↑Fri Jan 04, 2019 6:53 pmThe "||" is a logical OR in the shell. If the "unzip -v" command fails it will (by UNIX convention) return a non-zero exit code which means "false". The only plausible reason for "unzip v" to fail is that there is no "unzip" command in the PATH, usually meaning that "unzip" is not installed. And so the "pacman" command will be run.