Skip to content

Commit

Permalink
Reformat CMake: Do not execute commands in strings
Browse files Browse the repository at this point in the history
  • Loading branch information
sanssecours committed May 18, 2018
1 parent 2448774 commit aace361
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/reformat-cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ SCRIPTS_DIR=$(dirname "$0")
CMAKE_FORMAT=$(which cmake-format)

if [ -z "${CMAKE_FORMAT}" ]; then
echo "Please install `cmake-format`"
echo 'Please install `cmake-format`'
exit 0
fi

if [ -z "$(which sponge)" ]; then
echo "Please install `sponge`"
echo 'Please install `sponge`'
exit 0
fi

Expand Down

0 comments on commit aace361

Please sign in to comment.