diff --git a/functions.sh b/functions.sh index 4448b7f..195bf96 100644 --- a/functions.sh +++ b/functions.sh @@ -65,8 +65,7 @@ src_configure() { if [ ! -z $LOGDIR -a -f config.log ] ; then cp config.log $LOGDIR fi - fi - if [ -f ${SRCDIR}/CMakeLists.txt ] ; then + elif [ -f ${SRCDIR}/CMakeLists.txt ] ; then #sit_info "Running cmake" cmake -DCMAKE_INSTALL_PREFIX=$PREFIX ${SRCDIR} fi