Skip to content

Commit c561797

Browse files
author
Adma Diehl
committed
Provide default value to --threads
1 parent 585735c commit c561797

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CPU/common/juicer_postprocessing.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ while getopts "h:g:j:i:m:t:" opt; do
7171
esac
7272
done
7373

74+
## Provide reasonable default value for --threads, if not given
75+
if [ -z ${threads} ] ; then
76+
threads=1;
77+
fi
78+
7479
## Check that juicer_tools exists
7580
if [ ! -e "${juicer_tools_path}" ]; then
7681
echo "***! Can't find juicer tools in ${juicer_tools_path}";

0 commit comments

Comments
 (0)