https://bugs.openldap.org/show_bug.cgi?id=9209
--- Comment #6 from Quanah Gibson-Mount quanah@openldap.org --- "command -v" seems more portable, as a replacement for "which".
I.e.:
command -v dsadm
Works on both linux and Solaris at least.
Still have issues with the test statement though:
Running /export/home/build/sold/openldap/tests/scripts/test072-dsee-sync for mdb... running defines.sh /export/home/build/sold/openldap/tests/scripts/test072-dsee-sync: test: argument expected -bash-3.2$ echo $? 1