"Burton, Ross" <[email protected]> writes: >>> +if which systemctl >/dev/null; then >> >> check with the shell builtin 'type $prog' is more portable and does not >> require the external 'which' program. > > Tried that (type -p systemctl)
'type systemctl'; 'type -p ...' is a bashism. Enrico _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
