Skip to content
Snippets Groups Projects
Commit c93d883f authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing 1D cid

parent aa0fa358
No related branches found
No related tags found
No related merge requests found
......@@ -587,17 +587,18 @@ printf "cmake ../. $conf_options" > cmake_build_options
rm ../error_code
DYLD_LIBRARY_PATH=$ld_lib_pathopt cmake ../. $conf_options
if [ $? != 0 ]; then
#ok something went wrong the install script analyze the return code to potentially fix the problem automatically
# Read the error code and exit with that
if [ -f ../error_code ]; then
ecod=$(cat ../error_code)
if [ x"$ecod" == x"0" ]; then
exit 1
else
echo "Analyze error $ecod"
exit $ecod
fi
elif [ -f ../openfpm_devices/error_code ]; then
#ok something went wrong the install script analyze the return code to potentially fix the problem automatically
# Read the error code and exit with that
if [ -f ../openfpm_devices/error_code ]; then
ecod=$(cat ../openfpm_devices/error_code)
if [ x"$ecod" == x"0" ]; then
exit 1
else
echo "Analyze error $ecod"
exit $ecod
fi
elif [ -f ../error_code ]; then
ecod=$(cat ../openfpm_devices/error_code)
if [ x"$ecod" == x"0" ]; then
exit 1
......@@ -605,9 +606,9 @@ if [ $? != 0 ]; then
echo "Analyze error $ecod"
exit $ecod
fi
else
exit 1
fi
else
exit 1
fi
fi
cd ..
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment