Changeset 136 for trunk/IPs/systemC/processor/Morpheo/Script
- Timestamp:
- Oct 20, 2009, 8:52:15 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Script/execute.sh
r128 r136 137 137 if test ! -z "${COMMAND[${CPT}]}"; then 138 138 local NUM=$(printf %.${NB_DIGIT}d ${CPT}); 139 local MAX=$((${NB_COMMAND}-1)); 139 140 140 141 # echo " * {"$(my_date)"} <${ID}> execute command [${NUM}] : ${COMMAND[${CPT}]}"; 141 echo " * {"$(my_date)"} <${ID}> command [${NUM}/${ NB_COMMAND}] : execute";142 echo " * {"$(my_date)"} <${ID}> command [${NUM}/${MAX}] : execute"; 142 143 local PATH_CURRENT=${PWD}; 143 144 … … 155 156 ./${OUTPUT_FILE_CMD} &> ${OUTPUT_FILE_OUT}; 156 157 cd ${PATH_CURRENT} &> /dev/null; 157 echo " * {"$(my_date)"} <${ID}> command [${NUM}/${ NB_COMMAND}] : done";158 echo " * {"$(my_date)"} <${ID}> command [${NUM}/${MAX}] : done"; 158 159 fi; 159 160 done;
Note: See TracChangeset
for help on using the changeset viewer.