[FIXED JENKINS-13941] Update shell scripts to generate transparency
correctly as in jenkins.