make rlwrap more sh compatible

This commit is contained in:
David Alexander Majnemer 2009-01-13 17:20:17 -05:00
parent cbde44763e
commit fc03d1bd43

View file

@ -1,3 +1,3 @@
for wrap in rlwrap rlfe cle ; do
(type -p $wrap &> /dev/null) && alias ocaml="$wrap ocaml" && break
(type -p $wrap > /dev/null 2>&1) && alias ocaml="$wrap ocaml" && break
done