Skip to content

Commit

Permalink
#2302: build script: double quote to prevent globbing and word splitting
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrepebay committed Aug 15, 2024
1 parent 73fa9a2 commit 5f491dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/build_cpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ then
cd papi/src
export PAPI_BUILD=${build_dir}/papi
mkdir -p "$PAPI_BUILD"
CC="${CC:-cc}" F77="${F77:-gfortran}" ./configure --prefix=${PAPI_BUILD}/install
CC="${CC:-cc}" F77="${F77:-gfortran}" ./configure --prefix="$PAPI_BUILD/install"
make -j ${dashj} && make install

Check warning on line 117 in ci/build_cpp.sh

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

ci/build_cpp.sh#L117

Double quote to prevent globbing and word splitting.
fi
fi
Expand Down

0 comments on commit 5f491dd

Please sign in to comment.