Permalink
Browse files

tools: sign_and_build_release_packages: check for required tools befo…

…re running build
  • Loading branch information...
rianhunter committed Sep 4, 2014
1 parent 0bc07ab commit 6ded409e898b5c9adbf6ca1e225491b97a529ca2
Showing with 8 additions and 0 deletions.
  1. +8 −0 tools/sign_and_build_release_packages.sh
@@ -31,6 +31,14 @@ EOF
"$VERSION_TEMP_OUT"
}

# check if the right tools are installed before proceeding
for TOOL in osslsigncode gpg i686-w64-mingw32-gcc zip make xcodebuild cc; do
if ! which "$TOOL" > /dev/null; then
echo "Please install $TOOL before running this script"
exit 127
fi
done

# Get credentials to complete build

if [ -z "$SAFE_PFX_PATH" ]; then

0 comments on commit 6ded409

Please sign in to comment.