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