Griffon
  1. Griffon
  2. GRIFFON-547

Griffon command throws a shell error upon execution

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      Build: 16-Aug-2012 10:36 PM
      Groovy: 1.8.6
      Ant: 1.8.2
      Slf4j: 1.6.4
      Spring: 3.1.2.RELEASE
      JVM: 1.7.0_07 (Oracle Corporation 23.3-b01)
      OS: Linux 3.2.0-23-generic i386
    • Number of attachments :
      0

      Description

      Reported at the mailing list by Chris B.

      
      I'm not sure if this is the correct forum for this as I am a new Griffon user but here goes. I have installed Griffon on my Mint 13 - XFCE virtual machine. I use the following method:
      
      sudo apt-add-repository ppa:groovy-dev/griffon
      sudo apt-get update
      sudo apt-get install griffon-1.0.2
      
      This seemed to work fine but when I use griffon --version I receive:
      
      /usr/bin/griffon: 144: /usr/bin/startGriffon: [[: not found 
      

        Issue Links

          Activity

          Show
          Andres Almiray added a comment - Fixed with https://github.com/griffon/griffon/commit/bac46d9462474a23c4fe039b4549d7356cb14d23
          Hide
          Andres Almiray added a comment -

          The fix is causing trouble in Ubuntu (reported by Marco Vermeulen)

          bin/griffon: 140: [: 0: unexpected operator
          bin/griffon: 247: exec: /usr/lib/jvm/java-6-openjdk-amd64: Permission denied
          
          Show
          Andres Almiray added a comment - The fix is causing trouble in Ubuntu (reported by Marco Vermeulen) bin/griffon: 140: [: 0: unexpected operator bin/griffon: 247: exec: /usr/lib/jvm/java-6-openjdk-amd64: Permission denied
          Show
          Andres Almiray added a comment - Fixed with https://github.com/griffon/griffon/commit/c2973df235a1c7705a8814664896bf6876084228

            People

            • Assignee:
              Andres Almiray
              Reporter:
              Andres Almiray
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: