check for make-4.x before starting build process and exit with error
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
This commit was merged in pull request #1321.
This commit is contained in:
+2
-1
@@ -25,7 +25,8 @@ check_dependencies() {
|
||||
check_dependencies realpath rsync xsltproc xmllint sed find egrep grep wc make tee date iconv wget
|
||||
|
||||
if ! make --version | grep -q "GNU Make 4"; then
|
||||
die "The build script requires GNU Make 4.x"
|
||||
echo "The build script requires GNU Make 4.x"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
basedir="${0%/*}/.."
|
||||
|
||||
Reference in New Issue
Block a user