mirror of
https://git.tukaani.org/xz.git
synced 2025-10-05 16:58:17 +00:00
Scripts: Silence two shellcheck warnings
This commit is contained in:
parent
4d439aaeed
commit
7844aff1a8
@ -63,7 +63,7 @@ done
|
||||
cmp="$cmp --"
|
||||
|
||||
for file; do
|
||||
test "X$file" = X- || <"$file" || exit 2
|
||||
test "X$file" = X- || true < "$file" || exit 2
|
||||
done
|
||||
|
||||
# xz needs -qQ to ignore warnings like unsupported check type.
|
||||
|
@ -58,7 +58,7 @@ if test $# = 0; then
|
||||
else
|
||||
FIRST=1
|
||||
for FILE; do
|
||||
< "$FILE" || continue
|
||||
true < "$FILE" || continue
|
||||
if test $FIRST -eq 0; then
|
||||
printf "%s--More--(Next file: %s)" "" "$FILE"
|
||||
stty $cb -echo 2>/dev/null
|
||||
|
Loading…
x
Reference in New Issue
Block a user