]> git.sev.monster Git - dotfiles.git/blob - bin/.check-busybox
fix which usage, create function check-busybox
[dotfiles.git] / bin / .check-busybox
1 #!/bin/sh
2 function check-busybox() {
3     which $1 >/dev/null 2>&1 && [ "$(basename "$(readlink -f "$(which "$1" | head -1)")")" = "busybox" ]
4 }
This page took 0.032396 seconds and 4 git commands to generate.