diff --git a/configure b/configure index c0925a78..84291ad8 100755 --- a/configure +++ b/configure @@ -417,7 +417,16 @@ _|_ | | _> |_ (_| | | (_| |_ | (_) | | path_ninja = find_path("ninja", l_installed) subprocess.check_call("cd install ;{0}".format(path_ninja), shell=True) except: - raise + prefix = os.path.join('install', '_build') + for filename in os.listdir(prefix): + if filename.endswith(".log"): + with open( os.path.join(prefix,filename) ,'r') as f: + print "\n\n" + print "=-=-=-=-=-=- %s =-=-=-=-=-=-" %(filename) + print f.read() + print "=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n\n" + print "Error in installation of dependencies" + sys.exit(1) else: print r""" _________ diff --git a/install/scripts/build.sh b/install/scripts/build.sh index 835cdc11..79a71065 100755 --- a/install/scripts/build.sh +++ b/install/scripts/build.sh @@ -5,11 +5,6 @@ BUILD=_build/${TARGET} rm -rf -- ${BUILD} mkdir ${BUILD} || exit 1 tar -zxf Downloads/${TARGET}.tar.gz --strip-components=1 --directory=${BUILD} || exit 1 -_install -if [[ $? -ne 0 ]] -then - cat _build/${TARGET}.log - exit 1 -fi +_install || exit 1 rm -rf -- ${BUILD} _build/${TARGET}.log exit 0