Fix check_command in build.sh
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
check_command() {
|
check_command() {
|
||||||
if ! command -v $1 &> /dev/null
|
if ! command -v "$1" > /dev/null
|
||||||
then
|
then
|
||||||
echo "Error: $1 could not be found. Please install it."
|
echo "Error: $1 could not be found. Please install it."
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user