diff --git a/armory/pxi-time-order.c b/armory/pxi-time-order.c index b9547ff..ed998b4 100644 --- a/armory/pxi-time-order.c +++ b/armory/pxi-time-order.c @@ -166,8 +166,6 @@ int main(int argc, char **argv) { fseek(fpr, fprpos, SEEK_SET); - - //Get memory for default number of subevents per channel id for (i=0; i>> `date` >>>>>>>>>>>>>>>>>>>>>>> Build Events $NC" if [ ${isBuildEvents} -ge 1 ]; then if [ -f ${rootFolder} ]; then # root exist - toDateTime=`stat -c "%Z" ${toFolder} | sort -rn | head -1` - rootDateTime=`stat -c "%Z" ${rootFolder} | sort -rn | head -1` + toDateTime=`stat -c "%Z" ${toFile} | sort -rn | head -1` + rootDateTime=`stat -c "%Z" ${rootFile} | sort -rn | head -1` if [ ${toDateTime} -gt ${rootDateTime} ]; then if [ ${isBuildEvents} -gt 1 ]; then