[libpng17] Fixed a syntax error in tests/pngstest that some shells other than

bash could not parse (Bug report by Nelson Beebe).
This commit is contained in:
Glenn Randers-Pehrson 2015-12-09 13:29:02 -06:00
parent 26090a5f43
commit 4c1ee27962
3 changed files with 9 additions and 5 deletions

View File

@ -1,5 +1,5 @@
Libpng 1.7.0beta73 - December 8, 2015
Libpng 1.7.0beta73 - December 9, 2015
This is not intended to be a public release. It will be replaced
within a few weeks by a public version or by another test version.
@ -1085,7 +1085,9 @@ Version 1.7.0beta72 [December 7, 2015]
in libpng-1.7.0beta70. This also resulted in PNG data with random
row bytes.
Version 1.7.0beta73 [December 8, 2015]
Version 1.7.0beta73 [December 9, 2015]
Fixed a syntax error in tests/pngstest that some shells other than
bash could not parse (Bug report by Nelson Beebe).
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit

View File

@ -5384,7 +5384,9 @@ Version 1.7.0beta72 [December 7, 2015]
in libpng-1.7.0beta70. This also resulted in PNG data with random
row bytes.
Version 1.7.0beta73 [December 8, 2015]
Version 1.7.0beta73 [December 9, 2015]
Fixed a syntax error in tests/pngstest that some shells other than
bash could not parse (Bug report by Nelson Beebe).
(subscription required; visit
https://lists.sourceforge.net/lists/listinfo/png-mng-implement

View File

@ -17,7 +17,7 @@ gamma="$1"
shift
alpha="$1"
shift
exec ./pngstest --strict --tmpfile "${gamma}-${alpha}-" --log ${1+"$@"} $(
exec ./pngstest --strict --tmpfile "${gamma}-${alpha}-" --log ${1+"$@"} `
for f in "${srcdir}/contrib/testpngs/"*.png
do
g=
@ -49,4 +49,4 @@ exec ./pngstest --strict --tmpfile "${gamma}-${alpha}-" --log ${1+"$@"} $(
test "$alpha" = "opaque" -o "$alpha" = "none" && echo "$g";;
esac
done
)
`