Commit a1465c46 authored by Sean McGovern's avatar Sean McGovern Committed by Rafaël Carré

tools: clean up after sed test

Some implementations of sed blindly take the argument following
-i to be the file extension for the backup during an in-place edit.
Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
parent 6ceee192
......@@ -34,7 +34,7 @@ fi
check_sed() {
tmp="`pwd`/check_sed"
trap "rm $tmp" EXIT
trap "rm $tmp{,-e} 2>/dev/null" EXIT
echo "test file for GNU sed" > $tmp
if ! sed -i -e 's/sed//' $tmp >/dev/null 2>&1
then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment