We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20f0c12 commit 0e5602bCopy full SHA for 0e5602b
src/bin/sage-env
@@ -580,7 +580,7 @@ case "$SAGE_NUM_THREADS,$SAGE_NUM_THREADS_PARALLEL" in
580
# First, figure out the right values for SAGE_NUM_THREADS (default
581
# number of threads) and SAGE_NUM_THREADS_PARALLEL (default number of
582
# threads when parallel execution is asked explicitly).
583
- sage_num_threads_array=$($(dirname $0)/sage-num-threads.py 2>/dev/null || echo 1 2 1)
+ sage_num_threads_array=$("$(dirname "$0")"/sage-num-threads.py 2>/dev/null || echo 1 2 1)
584
sage_num_threads_array="${sage_num_threads_array% *}" # strip third item
585
SAGE_NUM_THREADS="${sage_num_threads_array% *}" # keep first item
586
SAGE_NUM_THREADS_PARALLEL="${sage_num_threads_array#* }" # keep second item
0 commit comments