Skip to content

Commit d72291d

Browse files
tlebfstachura
authored andcommitted
utils/index: fix to use reworked update script
Signed-off-by: Théo Lebrun <[email protected]>
1 parent 3de8215 commit d72291d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

utils/index

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,10 @@ project_fetch() {
5959

6060
# $1 is the project path (parent of data/ and repo/).
6161
project_index() {
62-
if test -z "$ELIXIR_THREADS"; then
63-
ELIXIR_THREADS="$(nproc)"
64-
fi
65-
6662
elixir_sources="$(dirname "$(dirname "$0")")"
6763

6864
LXR_REPO_DIR=$1/repo LXR_DATA_DIR=$1/data \
69-
python3 "$elixir_sources/update.py" $ELIXIR_THREADS
65+
python3 -m elixir.update
7066
}
7167

7268
# $1 is the Elixir root data path.

0 commit comments

Comments
 (0)