mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-10-01 01:26:08 -04:00
protoc distribution cannot make install
so do the `cp -r` just like the checkinstall part does
This commit is contained in:
parent
33c77c7e13
commit
382b4f9786
@ -10,7 +10,7 @@ if [ "$EUID" -ne 0 ]; then
|
|||||||
sudo checkinstall --pkgversion=$VERSION -y cp -r bin include /usr/local/
|
sudo checkinstall --pkgversion=$VERSION -y cp -r bin include /usr/local/
|
||||||
cp *.deb ~
|
cp *.deb ~
|
||||||
else
|
else
|
||||||
sudo make install
|
sudo cp -r bin include /usr/local/
|
||||||
fi
|
fi
|
||||||
popd
|
popd
|
||||||
sudo rm -rf /tmp/protoc-install
|
sudo rm -rf /tmp/protoc-install
|
||||||
@ -19,7 +19,7 @@ else
|
|||||||
checkinstall --pkgversion=$VERSION -y cp -r bin include /usr/local/
|
checkinstall --pkgversion=$VERSION -y cp -r bin include /usr/local/
|
||||||
cp *.deb ~
|
cp *.deb ~
|
||||||
else
|
else
|
||||||
make install
|
cp -r bin include /usr/local/
|
||||||
fi
|
fi
|
||||||
popd
|
popd
|
||||||
rm -rf /tmp/protoc-install
|
rm -rf /tmp/protoc-install
|
||||||
|
Loading…
Reference in New Issue
Block a user