File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,11 @@ export -f get_parameter
97
97
98
98
function process_this_image(){
99
99
100
+ # dummy test to enable linting through pipe
101
+ if [ $# -eq 1 ] && [ " $1 " == " TEST" ]; then
102
+ exit 0;
103
+ fi
104
+
100
105
FILE_IMAGE=" $1 "
101
106
FILE_PRM=" $2 "
102
107
DIR_LOG=" $3 "
363
368
FILE_NPROC=" $DIR_TEMP /cpu-$TIME "
364
369
echo " $NPROC " > " $FILE_NPROC "
365
370
371
+ process_this_image " TEST" # dummy call to enable linting through pipe
372
+
366
373
echo " ${QUEUE[*]} " | \
367
374
$PARALLEL_EXE -j " $FILE_NPROC " --delay " $DELAY " --eta \
368
375
process_this_image {} " $FILE_PRM " " $DIR_LOG " " $DIR_TEMP " " $TIMEOUT_ZIP " " $FILE_QUEUE "
369
- process_this_image 1 " $FILE_PRM " " $DIR_LOG " " $DIR_TEMP " " $TIMEOUT_ZIP " " $FILE_QUEUE "
370
376
371
377
rm " $FILE_NPROC "
372
378
Original file line number Diff line number Diff line change 1
- 3.7.12-dev:::2024-05-17_16:02:57
1
+ 3.7.12-dev:::2024-05-23_06:40:24
You can’t perform that action at this time.
0 commit comments