Corrected dependendencies test which was always failing.

This commit is contained in:
Sorin Sbarnea 2015-06-22 17:08:38 +01:00
parent 37d3a4e621
commit 332fc6f79c

View File

@ -40,7 +40,11 @@
for DEP in nunit-console zip unzip mkisofs wget curl hg git patch for DEP in nunit-console zip unzip mkisofs wget curl hg git patch
do do
which $DEP >>/dev/null || echo "ERROR: $DEP was not found, install it or add it to the PATH." && FATAL=1 which $DEP >>/dev/null
if [ $? -ne 0 ]; then
echo "ERROR: $DEP was not found, install it or add it to the PATH."
FATAL=1
fi
done done
if [ -z ${FATAL+x} ]; then if [ -z ${FATAL+x} ]; then
echo "" echo ""