Work around ancient shells where >$3 does not implicitly quote $3.

Also add an entry in shelltest.od to reject any shell exhibiting that
bug.

Reported-by: Wayne Scott <wsc9tt@gmail.com>
This commit is contained in:
Avery Pennarun 2019-03-03 20:56:17 -05:00
commit 2bea74df35
2 changed files with 14 additions and 2 deletions

View file

@ -23,6 +23,6 @@ redo-ifchange "$S/sources"
done | uniq
printf '%s\n' "$LIBGTK2" "$LIBQT4"
) >$3
) >"$3"
redo-stamp <$3
redo-stamp <"$3"