Give a useful error if curl is not installed
This commit is contained in:
@@ -11,6 +11,12 @@ fi
|
|||||||
|
|
||||||
echo "Building libsodium $VERSION"
|
echo "Building libsodium $VERSION"
|
||||||
|
|
||||||
|
if ! command -v curl &> /dev/null
|
||||||
|
then
|
||||||
|
echo "curl could not be found. Please install it and try again."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
# Go into the lib sodium directory
|
# Go into the lib sodium directory
|
||||||
cd res/libsodium
|
cd res/libsodium
|
||||||
if [ ! -f libsodium-1.0.18.tar.gz ]; then
|
if [ ! -f libsodium-1.0.18.tar.gz ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user