Bundle: Tweaks to detect MSbuild rather than make

This commit is contained in:
2018-08-07 18:49:15 +02:00
parent 91e5e4b6a4
commit db239757cb

View File

@@ -143,16 +143,24 @@ if [ -z "${GIT}" ]; then
exit 1
fi
MAKE=`which make`
if [ -z "${MAKE}" ]; then
echo "ERROR: Make is not found, can not continue."
exit 1
fi
if [[ "${KERNEL_NAME}" == "MINGW"* ]]; then
MSBUILD=`which MSbuild.exe`
if [ -z "${MSBUILD}" ]; then
echo "ERROR: MSbuild is not found, can not continue."
exit 1
fi
else
MAKE=`which make`
if [ -z "${MAKE}" ]; then
echo "ERROR: Make is not found, can not continue."
exit 1
fi
STRIP=`which strip`
if [ -z "${STRIP}" ]; then
echo "ERROR: strip is not found, can not continue."
exit 1
STRIP=`which strip`
if [ -z "${STRIP}" ]; then
echo "ERROR: strip is not found, can not continue."
exit 1
fi
fi
SVN=`which svn`