瀏覽代碼

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 年之前
父節點
當前提交
4faf1e19c2
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      scripts/start.sh

+ 1
- 1
scripts/start.sh 查看文件

@@ -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…
取消
儲存