Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-6885

Invalid (non-ASCII) character in setenv.sh

    XMLWordPrintable

Details

    Description

      Maybe an esoteric use case, anyway...

      setenv.sh has a non-ASCII character (Hex A0) on the following line:
      #\xA0JMX is enabled by selecting an authentication method value for JMX_REMOTE_AUTH and then configuring related the

      This affects me because I'm automating a Stash deployment via Chef, I need to add some JVM arguments (best achieved by modifying this file), and the deployment now fails when I process this file with Chef::Util::FileEdit.

      My workaround is to run the following before doing any processing on the file:
      sed -i 's/\xA0/ /g' setenv.sh

      Could you kindly remove this character and replace with a regular space character. This was not an issue in v3.3.1

      Thanks!

      Attachments

        Activity

          People

            ssaasen Stefan Saasen (Inactive)
            740076bac071 Darren Warner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: