net/wpa_supplicant/dmake.sh.lib
$ cat dmake.sh.lib
#!/bin/sh
fdl(){
cmd_get=${cmd_get:-"$(
command -v aria2c ||
command -v axel ||
command -v curl ||
command -v wget ||
command -v wget2
)"}
# printf "$cmd_get\n"
}
_dl(){
fdl
case ${cmd_get##*/} in
aria2c) set -- -d / -o "$@" ;;
axel) set -- -o "$@" ;;
curl) set -- -fLo "$@" ;;
wget|wget2) set -- -O "$@" ;;
esac
$cmd_get "$@"
}
