~carbslinux/repository

ref: 2356b251838cdb86fbd0c0a602f5d7e3f53ba6f3 repository/core/busybox/files/which -rwxr-xr-x 176 bytes
2356b251Cem Keylan gcc: bump to 11.2.0 11 months ago
                                                                                
1
2
3
4
#!/bin/sh
[ "$1" ] || { printf 'usage: %s <command>\n' "${0##*/}"; exit 0;}
IFS=:; for path in $PATH; do [ -x "$path/$1" ] && { printf '%s\n' "$path/$1"; exit 0;}; done
exit 1