Browse Source

Fix start.sh to support bash CD_COMPLAINS

Starting from bash 4.4, passing multiple arguments to `cd` will fail.
https://askubuntu.com/questions/905832/ubuntu-17-04-bash-cd-too-many-arguments#905877
tags/6.6-RC1
Julien HENRY 7 years ago
parent
commit
4faf1e19c2
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      scripts/start.sh

+ 1
- 1
scripts/start.sh View File

@@ -46,7 +46,7 @@ if ! ls sonarqube-*/bin/$OS/sonar.sh &> /dev/null; then
echo "Unzipping SQ..."
unzip -qq sonarqube-*.zip
fi
cd sonarqube-*
cd $(find sonarqube-* -type d | head -1)

SQ_HOME=$(pwd)
cd "$ROOT"

Loading…
Cancel
Save