Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-643

HOME not quoted in groovysh

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.0-beta-7
    • 1.0-beta-8
    • None
    • None

    Description

      from: Alan Thompson <groovy.user@whitecaps.net>

      Hi - I'm a new groovy user and just found a small bug installing Groovy
      1.0-beta-7 on Cygwin. The use of the $HOME environment variable at the end
      of the groovysh script is not quoted (unlike most other env var's in the
      script), which leads to problems on windoze since the default value of
      $HOME is something like "/home/Alan Thompson". By simply changing line 140
      (4'th from last) of the groovysh script to read:

      -Djava.library.path="$HOME/.groovy/lib" \

      (note the added double quotes), it works fine.

      This small fix should probably be added for Beta-8.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jez Jeremy Rayner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: