RFR: Fix typo when translating characters in $USER.
sgehwolf at redhat.com
Thu Oct 16 10:58:10 UTC 2014
I've noticed that when I do a build of OpenJDK 9 hs-comp forest then the
generated build ID eats the "w" from my local username. Reproducer bash
(USER=xwwwx; a=$(echo $USER | tr -d -c 'abcdefghijklmnopqrstuvqxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'); if [ "$a" == "xx" ]; then echo BAD; else echo GOOD; fi)
It should print GOOD, but prints BAD.
As it turns out there is a typo in common/autoconf/jdk-options.m4
webrev is here:
Could someone please sponsor this change for me?
Since I work for Red Hat the OCA has been signed.
More information about the build-dev