ImageMagick. Multiple SVG files are only allowed for PDF and PS output
/dev/stdin was superfluous.

When I removed it, it works perfectly:

${BASEFOLDER}/tools/recolour.sh $1 $2 $3 $4 | rsvg -f png -w ${5} -h ${5} -o ${6}.png