fa22b78 switched from using which cygpath to using type -t cygpath, due to which being non-conformant on "some platforms" Mac OS X 10.4 Tiger and returning 0 even if the command was not found. It might be preferable to use which -s cygpath ("No output, just return 0 if all of the executables are found, or 1 if some were not found") or command -v cygpath (that's used by pokecrystal's Makefile to check whether sha1sum exists). (I think we should also comment in the test.sh scripts why we're using whichever particular approach we decide on, since future maintainers might not realize there are any differences besides style.)
fa22b78 switched from using
which cygpathto usingtype -t cygpath, due towhichbeing non-conformant on "some platforms" Mac OS X 10.4 Tiger and returning 0 even if the command was not found. It might be preferable to usewhich -s cygpath("No output, just return 0 if all of the executables are found, or 1 if some were not found") orcommand -v cygpath(that's used by pokecrystal's Makefile to check whethersha1sumexists). (I think we should also comment in the test.sh scripts why we're using whichever particular approach we decide on, since future maintainers might not realize there are any differences besides style.)