Module Name: src Committed By: darran Date: Fri Mar 5 01:34:36 UTC 2010
Modified Files: src/external/cddl/osnet/dist/lib/libdtrace/common: mkerrtags.sh mknames.sh Log Message: DTrace: Explicitly check for OS X to decide if echo needs -e. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 \ src/external/cddl/osnet/dist/lib/libdtrace/common/mkerrtags.sh \ src/external/cddl/osnet/dist/lib/libdtrace/common/mknames.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/cddl/osnet/dist/lib/libdtrace/common/mkerrtags.sh diff -u src/external/cddl/osnet/dist/lib/libdtrace/common/mkerrtags.sh:1.3 src/external/cddl/osnet/dist/lib/libdtrace/common/mkerrtags.sh:1.4 --- src/external/cddl/osnet/dist/lib/libdtrace/common/mkerrtags.sh:1.3 Tue Mar 2 21:08:36 2010 +++ src/external/cddl/osnet/dist/lib/libdtrace/common/mkerrtags.sh Fri Mar 5 01:34:35 2010 @@ -26,7 +26,11 @@ # #ident "%Z%%M% %I% %E% SMI" -BSDECHO= +if [[ $(uname) = "Darwin" ]]; then + BSDECHO= +else + BSDECHO=-e +fi echo ${BSDECHO} "\ /*\n\ Index: src/external/cddl/osnet/dist/lib/libdtrace/common/mknames.sh diff -u src/external/cddl/osnet/dist/lib/libdtrace/common/mknames.sh:1.3 src/external/cddl/osnet/dist/lib/libdtrace/common/mknames.sh:1.4 --- src/external/cddl/osnet/dist/lib/libdtrace/common/mknames.sh:1.3 Tue Mar 2 21:08:36 2010 +++ src/external/cddl/osnet/dist/lib/libdtrace/common/mknames.sh Fri Mar 5 01:34:35 2010 @@ -26,7 +26,11 @@ # #ident "%Z%%M% %I% %E% SMI" -BSDECHO= +if [[ $(uname) = "Darwin" ]]; then + BSDECHO= +else + BSDECHO=-e +fi echo ${BSDECHO} "\ /*\n\