File tree Expand file tree Collapse file tree 1 file changed +13
-15
lines changed Expand file tree Collapse file tree 1 file changed +13
-15
lines changed Original file line number Diff line number Diff line change @@ -528,21 +528,19 @@ if [ $DEBUG ]; then
528
528
#
529
529
STAGES=" process publish"
530
530
for type in $TYPES ; do
531
- for stage in $STAGES ; do
532
- if ls -A $LOG_DIR /$type /$stage -* & > /dev/null; then
533
- rm -rf /tmp/t
534
- grep -B 3 " ERROR -- : Error:" $LOG_DIR /$type /$stag -* | egrep -w ' Task:| Error:' > /tmp/t
535
- if [ -s /tmp/t ]; then
536
- echo " -- ERRORS found while processing slides $LOG_DIR /$type /$stag -* -- "
537
- cat /tmp/t
538
- echo
539
- fi
540
- fi
541
- done
542
- done
543
-
544
-
545
-
531
+ for stage in $STAGES ; do
532
+ LOC=$LOG_DIR /$type /$stage
533
+ if ls -A $LOC -* & > /dev/null; then
534
+ rm -rf /tmp/t
535
+ grep -B 3 " ERROR -- : Error:" $LOC -* | egrep -w ' Task:| Error:' > /tmp/t
536
+ if [ -s /tmp/t ]; then
537
+ echo " -- ERRORS found while processing slides $LOC -* -- "
538
+ cat /tmp/t
539
+ echo
540
+ fi
541
+ fi
542
+ done
543
+ done
546
544
547
545
548
546
#
You can’t perform that action at this time.
0 commit comments