shopt -s nullglob
local cards=$(echo -n /dev/{dri,ati}/card* /dev/nvidiactl* | sed 's/ /:/g')
shopt -u nullglob
test -n "${cards}" && addpredict "${cards}"
test -n "${cards}" && addwrite "${cards}"
emake || die "emake failed"
}