From 382b4f9786ea7c1b1e0aa6a11d14f1803ad58206 Mon Sep 17 00:00:00 2001 From: Zach C Date: Sun, 13 Aug 2023 12:25:15 -0500 Subject: [PATCH] protoc distribution cannot `make install` so do the `cp -r` just like the checkinstall part does --- scripts/earthly/install_protoc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/earthly/install_protoc.sh b/scripts/earthly/install_protoc.sh index 49c48605..272008f5 100755 --- a/scripts/earthly/install_protoc.sh +++ b/scripts/earthly/install_protoc.sh @@ -10,7 +10,7 @@ if [ "$EUID" -ne 0 ]; then sudo checkinstall --pkgversion=$VERSION -y cp -r bin include /usr/local/ cp *.deb ~ else - sudo make install + sudo cp -r bin include /usr/local/ fi popd sudo rm -rf /tmp/protoc-install @@ -19,7 +19,7 @@ else checkinstall --pkgversion=$VERSION -y cp -r bin include /usr/local/ cp *.deb ~ else - make install + cp -r bin include /usr/local/ fi popd rm -rf /tmp/protoc-install