projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix: tests: use a portable invocation of 'sed -i'
[babeltrace.git]
/
tests
/
utils
/
utils.sh
diff --git
a/tests/utils/utils.sh
b/tests/utils/utils.sh
index c2ea334130694e67fac487ba66e0f3b9ed3cea02..8bf9df896509c3a6a7998174ed9da8f4b1d56fe2 100644
(file)
--- a/
tests/utils/utils.sh
+++ b/
tests/utils/utils.sh
@@
-153,7
+153,7
@@
fi
# Remove CR characters in file "$1".
bt_remove_cr() {
- "$BT_TESTS_SED_BIN" -i 's/\r//g' "$1"
+ "$BT_TESTS_SED_BIN" -i
'' -e
's/\r//g' "$1"
}
# Run the Babeltrace CLI, redirecting stdout and stderr to specified files.
This page took
0.02502 seconds
and
4
git commands to generate.