Commit 340d2f42 authored by Emmanuel Promayon's avatar Emmanuel Promayon

FIXED improved OS deduction

parent 324a3b64
......@@ -130,15 +130,16 @@ fi
# determine OS
unameOS=$(uname)
echo "===== Checking OS ($os) ====="
if [[ "$unameOS" =~ ^MINGW64.* ]]; then
osName="Windows"
else
osName="Linux"
fi
echo "===== Uname is $unameOS ===== OS is $osName ====="
# check if current build is on windows debug version
if [ ! -f $camitkGenerator ]; then
echo "===== Not found: $camitkGenerator on $osName ====="
if [[ "$osName" == "Windows" ]]; then
echo "===== camitk-cepgenerator binary not found, using Debug version on Windows ====="
# try with debug postfix
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment