diff options
author | shdown <shdownnine@gmail.com> | 2014-09-16 21:01:35 +0400 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-09-17 00:00:05 +0200 |
commit | f2c46bc1d1c17fb26f1258fef1c7a9aa12e74590 (patch) | |
tree | b3929c50142872e570ac997edc6d194836a0e810 /TOOLS/idet.sh | |
parent | 02d0b2f31ca49649c73e01438b85c29dda709fdb (diff) | |
download | mpv-f2c46bc1d1c17fb26f1258fef1c7a9aa12e74590.tar.bz2 mpv-f2c46bc1d1c17fb26f1258fef1c7a9aa12e74590.tar.xz |
TOOLS: eliminate echoes with variable substitutions
echo behaviour with backslash escapes seems to be non-portable: dash does
expand such an escapes and bash does not, so use cat/printf instead.
Diffstat (limited to 'TOOLS/idet.sh')
-rwxr-xr-x | TOOLS/idet.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TOOLS/idet.sh b/TOOLS/idet.sh index 9a2e698ea9..c3b30080a6 100755 --- a/TOOLS/idet.sh +++ b/TOOLS/idet.sh @@ -39,7 +39,7 @@ judge() case "$tff$bff$progressive$undetermined" in *[!0-9]*) - echo >&2 "ERROR: Unrecognized idet output: $out" + printf >&2 'ERROR: Unrecognized idet output: %s\n' "$out" exit 16 ;; esac @@ -75,7 +75,7 @@ judge() verdict="progressive" fi - echo "$verdict" + printf '%s\n' "$verdict" } judge "$@" --vf-clr |