Bash syntax in shell script setenv.sh

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 3.5
    • Affects Version/s: 3.4.3
    • Component/s: Installation
    • Environment:
    • 3.04

      There is the bash-like syntax

      export JAVA_OPTS=" $JAVA_OPTS -Xms128m -Xmx256m -Djava.awt.headless=true "
      

      in shell script (script for /bin/sh); if /bin/sh is not link to /bin/bash, execution of startup.sh fails. Please, use real shell syntax and split assigning and exporting in two commands:

      JAVA_OPTS=" $JAVA_OPTS -Xms128m -Xmx256m -Djava.awt.headless=true "
      export JAVA_OPTS
      

            Assignee:
            Dylan Etkin [Atlassian]
            Reporter:
            Jozef Babjak
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified