utils/index-repository: if $ELIXIR_THREADS is not passed, use nproc
Follow behavior of utils/index-all-repositories. Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
This commit is contained in:
parent
905e6ef657
commit
06d503e3d9
1 changed files with 3 additions and 0 deletions
|
|
@ -5,6 +5,9 @@ if [ "$#" -ne 2 ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
export ELIXIR_INSTALL=$(dirname $(dirname $(readlink -f "$0")))
|
||||
. $ELIXIR_INSTALL/utils/common.sh
|
||||
|
||||
dir=/srv/elixir-data/$1
|
||||
|
||||
mkdir -p $dir/data
|
||||
|
|
|
|||
Loading…
Reference in a new issue