DTrace: Explicitly check for OS X to decide if echo needs -e.
This commit is contained in:
parent
7a5d03568b
commit
dc1214bcba
|
@ -26,7 +26,11 @@
|
|||
#
|
||||
#ident "%Z%%M% %I% %E% SMI"
|
||||
|
||||
BSDECHO=
|
||||
if [[ $(uname) = "Darwin" ]]; then
|
||||
BSDECHO=
|
||||
else
|
||||
BSDECHO=-e
|
||||
fi
|
||||
|
||||
echo ${BSDECHO} "\
|
||||
/*\n\
|
||||
|
|
|
@ -26,7 +26,11 @@
|
|||
#
|
||||
#ident "%Z%%M% %I% %E% SMI"
|
||||
|
||||
BSDECHO=
|
||||
if [[ $(uname) = "Darwin" ]]; then
|
||||
BSDECHO=
|
||||
else
|
||||
BSDECHO=-e
|
||||
fi
|
||||
|
||||
echo ${BSDECHO} "\
|
||||
/*\n\
|
||||
|
|
Loading…
Reference in New Issue