From fd18cccf798e88d0c3bed8b788fed7ae2bb59000 Mon Sep 17 00:00:00 2001 From: Slavey Karadzhov Date: Thu, 18 Nov 2021 11:20:13 +0100 Subject: [PATCH] Fix codacy issues. --- Tools/ci/build.sh | 2 +- Tools/ci/install.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Tools/ci/build.sh b/Tools/ci/build.sh index cb15f84d22..10b1047958 100755 --- a/Tools/ci/build.sh +++ b/Tools/ci/build.sh @@ -2,7 +2,7 @@ set -ex # exit with nonzero exit code if anything fails # Build times benefit from parallel building -export MAKE_PARALLEL="make -j`nproc`" +export MAKE_PARALLEL="make -j$(nproc)" cd "$SMING_HOME" source "Arch/$SMING_ARCH/Tools/ci/build.setup.sh" diff --git a/Tools/ci/install.sh b/Tools/ci/install.sh index cba2c65e4d..9fc8bc430e 100755 --- a/Tools/ci/install.sh +++ b/Tools/ci/install.sh @@ -11,7 +11,7 @@ # appveyor-specific export PYTHON=$HOME/venv3.9/bin/python export ESP32_PYTHON_PATH=$HOME/venv3.9/bin -source $HOME/venv3.9/bin/activate +source "$HOME/venv3.9/bin/activate" # Install requested toolchains -$SMING_HOME/../Tools/install.sh $@ +"$SMING_HOME/../Tools/install.sh" $@