Skip to content

Commit

Permalink
Fix install
Browse files Browse the repository at this point in the history
  • Loading branch information
PHILO-HE committed Sep 4, 2024
1 parent dd9d94d commit 8da0a5b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions scripts/setup-centos9.sh
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,9 @@ function install_stemmer {
(
cd stemmer
git apply ${PATCH_DIR}/Makefile.patch
make "-j${NPROC}"
make install
make clean && make "-j${NPROC}"
${SUDO} cp libstemmer.a /usr/local/lib/
${SUDO} cp include/libstemmer.h /usr/local/include/
)
}

Expand Down
5 changes: 3 additions & 2 deletions scripts/setup-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,9 @@ function install_stemmer {
(
cd stemmer
git apply ${PATCH_DIR}/Makefile.patch
make "-j${NPROC}"
make install
make clean && make "-j${NPROC}"
${SUDO} cp libstemmer.a /usr/local/lib/
${SUDO} cp include/libstemmer.h /usr/local/include/
)
}

Expand Down

0 comments on commit 8da0a5b

Please sign in to comment.