]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - travis-ci/tools/get-coverity.sh
scripts: use 4 space indentation
[thirdparty/systemd.git] / travis-ci / tools / get-coverity.sh
index d364b541e27f36504af1d23b93e5b1acc804466f..3634e57ad604ebd5b0c6ce4fbb9422b12e5e40b7 100755 (executable)
@@ -18,18 +18,18 @@ sudo apt-get update && sudo apt-get -y install wget
 
 # Get coverity tool
 if [ ! -d $TOOL_BASE ]; then
-  # Download Coverity Scan Analysis Tool
-  if [ ! -e $TOOL_ARCHIVE ]; then
-         echo -e "\033[33;1mDownloading Coverity Scan Analysis Tool...\033[0m"
-         wget -nv -O $TOOL_ARCHIVE $TOOL_URL --post-data "project=$COVERITY_SCAN_PROJECT_NAME&token=$COVERITY_SCAN_TOKEN"
-  fi
-
-  # Extract Coverity Scan Analysis Tool
-  echo -e "\033[33;1mExtracting Coverity Scan Analysis Tool...\033[0m"
-  mkdir -p $TOOL_BASE
-  pushd $TOOL_BASE
-  tar xzf $TOOL_ARCHIVE
-  popd
+    # Download Coverity Scan Analysis Tool
+    if [ ! -e $TOOL_ARCHIVE ]; then
+       echo -e "\033[33;1mDownloading Coverity Scan Analysis Tool...\033[0m"
+       wget -nv -O $TOOL_ARCHIVE $TOOL_URL --post-data "project=$COVERITY_SCAN_PROJECT_NAME&token=$COVERITY_SCAN_TOKEN"
+    fi
+
+    # Extract Coverity Scan Analysis Tool
+    echo -e "\033[33;1mExtracting Coverity Scan Analysis Tool...\033[0m"
+    mkdir -p $TOOL_BASE
+    pushd $TOOL_BASE
+    tar xzf $TOOL_ARCHIVE
+    popd
 fi
 
 echo -e "\033[33;1mCoverity Scan Analysis Tool can be found at $TOOL_BASE ...\033[0m"