- Timestamp:
- 2018-05-29T14:49:26+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
utils/build/makenemo
r9669 r9673 194 194 ## No ref. cfg, demo case, nor remote cfg selected 195 195 if [[ -z "${REF_CONF}" && -z "${DEMO_CONF}" && -z "${RMT_CONF}" ]]; then 196 conf_file='work_cfgs.txt'197 196 198 197 ## Reuse last configuration compiled if any (existing 'work_cfgs.txt') 199 198 if [[ $( find ./cfgs ./tests -name work_cfgs.txt ) ]]; then 200 199 CONFIG_DIR=${MAIN_DIR}/$( ls -rt */work_cfgs.txt | awk -F/ 'END{ print $1}' ) 201 TML_CONF=$( tail -1 ${CONFIG_DIR}/ ${conf_file}| awk '{ print $1 }' )200 TML_CONF=$( tail -1 ${CONFIG_DIR}/work_cfgs.txt | awk '{ print $1 }' ) 202 201 else 203 202 ## No ${REF_CONF}, ${DEMO_CONF}, ${RMT_CONF} nor ${NEM_SUBDIR} and 1st compilation => exit 204 echo -e "\033[0;33m\nNo previous compilationfound!"203 echo -e "\033[0;33m\nNo previous build found!" 205 204 echo -e "\033[0;31m\nAt least a reference configuration ('-r'), a demonstration case ('-a'), " 206 205 echo -e "a remote configuration ('-u') or a set of NEMO sub-components ('-d') " … … 263 262 fi 264 263 265 fi 266 267 [[ -z "${NEW_CONF}" || "${TML_CONF}" == "${NEW_CONF}" ]] && NEW_CONF=${TML_CONF}'_WK' 264 [[ -z "${NEW_CONF}" || "${TML_CONF}" == "${NEW_CONF}" ]] && NEW_CONF=${TML_CONF}'_WK' 265 266 fi 267 268 268 export NEMO_TDIR=${x_t:-$CONFIG_DIR} 269 269
Note: See TracChangeset
for help on using the changeset viewer.