Check for executable existance

pull/104/head
Craig Tiller 10 years ago
parent ecd49345b5
commit 98d532dbc4
  1. 10
      tools/clang-format/config.sh

@ -1 +1,11 @@
CLANG_FORMAT=clang-format-3.5
set -ex
if not hash $CLANG_FORMAT 2>/dev/null; then
echo "$CLANG_FORMAT is needed but not installed"
echo "perhaps try:"
echo " sudo apt-get install $CLANG_FORMAT"
exit 1
fi

Loading…
Cancel
Save