Trying to build on an odd system, a WiiU (see https://linux-wiiu.org), using Adelie Linux (see https://www.adelielinux.org/). For some reason the which command is built into zsh, and I have either modify scripts or install an extra package.
Could there be a way to just use the current shell's builtin which command, and if that doesn't exist, then check for a separate which command, and then if that doesn't exist, just bail and say that which wasn't found? Because currently, you just get spammed with ./git-version-gen: 1: which: not found.
Please let me know if more information is needed.
I'm using the latest commit, as of 12/21/2025 (commit 3ded00c)
Trying to build on an odd system, a WiiU (see https://linux-wiiu.org), using Adelie Linux (see https://www.adelielinux.org/). For some reason the
whichcommand is built into zsh, and I have either modify scripts or install an extra package.Could there be a way to just use the current shell's builtin
whichcommand, and if that doesn't exist, then check for a separatewhichcommand, and then if that doesn't exist, just bail and say thatwhichwasn't found? Because currently, you just get spammed with./git-version-gen: 1: which: not found.Please let me know if more information is needed.
I'm using the latest commit, as of 12/21/2025 (commit 3ded00c)