technopagan/adept-jpg-compressor — pull request #18 by androa (2013-10-30 10:53:10+00:00)
Title: Fixes the find_tool() function so it looks in other paths

The for-loop only checks the first element in the array and will not attempt to locate tools in any of the other paths. This causes it to fail if the tool does not exist in $PATH.