Skip to content

Commit bf2d7c6

Browse files
committed
Make sure the library and header directory exists
1 parent 7d4cab9 commit bf2d7c6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

install_libchdb.sh

+3
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ if [[ $EUID -ne 0 ]]; then
9595
echo " chdb.h to /usr/local/include/"
9696
fi
9797

98+
# Make sure the library and header directory exists
99+
${SUDO} mkdir -p /usr/local/lib /usr/local/include || true
100+
98101
# Install the library and header file
99102
${SUDO} /bin/cp libchdb.so /usr/local/lib/
100103
${SUDO} /bin/cp chdb.h /usr/local/include/

0 commit comments

Comments
 (0)