Improve output on NetBSD by using a non-break version of echo as well

This commit is contained in:
mboelen 2014-12-03 22:49:22 +01:00
parent 26a6e33637
commit df0da8b0c4
1 changed files with 3 additions and 0 deletions

View File

@ -357,6 +357,8 @@
esac
# Set correct echo binary and parameters after detecting operating system
ECHONB=""
case ${OS} in
"AIX") ECHOCMD="echo" ;;
"MacOS") ECHOCMD="echo" ;;
@ -369,6 +371,7 @@
*) ECHOCMD="echo -e" ;;
esac
;;
"NetBSD") ECHOCMD="echo -e"; ECHONB="echo -n" ;;
*) ECHOCMD="echo -e" ;;
esac