Repository: accumulo Updated Branches: refs/heads/1.6.1-SNAPSHOT cc617cdb2 -> b33cb733b
ACCUMULO-2790 generate_monitor_certificate.sh fails on OSX Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/312856ae Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/312856ae Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/312856ae Branch: refs/heads/1.6.1-SNAPSHOT Commit: 312856ae6a2a2324f841796a7ddeacbe9c7bca92 Parents: 7e9cb85 Author: Drew Farris <d...@apache.org> Authored: Tue May 13 22:51:35 2014 -0400 Committer: Drew Farris <d...@apache.org> Committed: Tue May 13 22:51:35 2014 -0400 ---------------------------------------------------------------------- bin/generate_monitor_certificate.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/312856ae/bin/generate_monitor_certificate.sh ---------------------------------------------------------------------- diff --git a/bin/generate_monitor_certificate.sh b/bin/generate_monitor_certificate.sh index d00c811..fe98bb3 100755 --- a/bin/generate_monitor_certificate.sh +++ b/bin/generate_monitor_certificate.sh @@ -28,8 +28,8 @@ bin="$( cd -P "$( dirname "$SOURCE" )" && pwd )" . "$bin"/config.sh ALIAS="default" -KEYPASS=$(tr -dc '#-~' < /dev/urandom | tr -d '<>&' | head -c 20) -STOREPASS=$(tr -dc '#-~' < /dev/urandom | tr -d '<>&' | head -c 20) +KEYPASS=$(LC_CTYPE=C tr -dc '#-~' < /dev/urandom | tr -d '<>&' | head -c 20) +STOREPASS=$(LC_CTYPE=C tr -dc '#-~' < /dev/urandom | tr -d '<>&' | head -c 20) KEYSTOREPATH="$ACCUMULO_HOME/conf/keystore.jks" TRUSTSTOREPATH="$ACCUMULO_HOME/conf/cacerts.jks" CERTPATH="$ACCUMULO_HOME/conf/server.cer"