Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-1244

bin/m2 breaks with spaces in path

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.1
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows XP, Cygwin

      Description

      The bin/m2 script breaks under cygwin if the m2 home has spaces in the path. Quick fix:

      25c25
      < exec `dirname $0`/mvn $@

      > exec "`dirname "$0"`/mvn" $@

        Attachments

        1. MNG-1244.txt
          0.3 kB
          Mark Hobson

          Issue Links

            Activity

              People

              • Assignee:
                brettporter Brett Porter
                Reporter:
                markh Mark Hobson
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: