summaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2021-06-19 09:29:21 -0600
committerGitHub <noreply@github.com>2021-06-19 09:29:21 -0600
commit7d01dd87e833bc5372aaae6c0eb8bc982ac6a419 (patch)
tree4e0615838684ca95bbe4e4d276f12fb2cfb25f57 /build.sh
parent23590ad82730c9304cc58f5e1a649ab909e1cf28 (diff)
downloadbcm5719-ortega-7d01dd87e833bc5372aaae6c0eb8bc982ac6a419.tar.gz
bcm5719-ortega-7d01dd87e833bc5372aaae6c0eb8bc982ac6a419.zip
build: Update various support files with codacy recommendations. (#227)
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/build.sh b/build.sh
index f1f5b54..f71b167 100755
--- a/build.sh
+++ b/build.sh
@@ -49,10 +49,10 @@ ARGS="$@"
if [ ! -x "$CMAKE" ]
then
- CMAKE=`which cmake3`
+ CMAKE=$(which cmake3)
if [ ! -x "$CMAKE" ]
then
- CMAKE=`which cmake`
+ CMAKE=$(which cmake)
if [ ! -x "$CMAKE" ]
then
echo "ERROR: Unable to locate cmake."
@@ -63,10 +63,10 @@ fi
if [ ! -x "$CPACK" ]
then
- CPACK=`which cpack3`
+ CPACK=$(which cpack3)
if [ ! -x "$CPACK" ]
then
- CPACK=`which cpack`
+ CPACK=$(which cpack)
if [ ! -x "$CPACK" ]
then
echo "ERROR: Unable to locate cpack."
@@ -75,12 +75,12 @@ then
fi
fi
-NINJA=`which ninja-build`
+NINJA=$(which ninja-build)
if [ -x "$NINJA" ]
then
GENERATOR=-GNinja
else
- NINJA=`which ninja`
+ NINJA=$(which ninja)
if [ -x "$NINJA" ]
then
GENERATOR=-GNinja
OpenPOWER on IntegriCloud