diff --git a/.ci/install-libcsptr.sh b/.ci/install-libcsptr.sh index fd0f471..79b4d4d 100755 --- a/.ci/install-libcsptr.sh +++ b/.ci/install-libcsptr.sh @@ -9,6 +9,12 @@ git clone --branch ${tag} --depth 1 ${repo} dependencies/libcsptr && ./autogen.sh && ./configure --prefix=/usr && make && - sudo make install + { + if command -v sudo; then + sudo make install + else + make install + fi + } ) rm -Rf dependencies