mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
Corrected dependendencies test which was always failing.
This commit is contained in:
parent
37d3a4e621
commit
332fc6f79c
12
mk/build.sh
12
mk/build.sh
@ -40,13 +40,17 @@
|
||||
|
||||
for DEP in nunit-console zip unzip mkisofs wget curl hg git patch
|
||||
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
|
||||
if [ -z ${FATAL+x} ]; then
|
||||
echo ""
|
||||
echo ""
|
||||
else
|
||||
echo "FATAL: One or more build tools were not found."
|
||||
exit 1
|
||||
echo "FATAL: One or more build tools were not found."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user