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

bash-only syntax used in setenv.sh

    XMLWordPrintable

Details

    Description

      There are bashisms in the setenv.sh. On Ubuntu system startup.sh complains with

      git@hybe:~$ current/bin/startup.sh
      /srv/git/current/bin/setenv.sh: 106: [[: not found
      

      Ubuntu and other Linux flavours are not using bash as system shell (aka /bin/sh). See https://wiki.ubuntu.com/DashAsBinSh#A.5B.5B for differences

      Attachments

        Activity

          People

            bplump Brent P
            fd038842b2fe Jozef Kotlár
            Votes:
            10 Vote for this issue
            Watchers:
            14 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: