aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/sendemail-validate3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/sendemail-validate b/contrib/sendemail-validate
index dcab4aaa..ae29d05c 100755
--- a/contrib/sendemail-validate
+++ b/contrib/sendemail-validate
@@ -33,7 +33,8 @@ validate_patch () {
export CFLAGS="-O0 -g -std=c99 -Wall -Wextra -Wconversion -Werror -Wformat-security -Wstack-protector -Wpedantic -Wmissing-prototypes"
validate_series () {
- gmake all tests lint check-patches
+ command -v gmake >/dev/null 2>&1 && make="gmake" || make="make"
+ $make all tests lint check-patches
}
# main -------------------------------------------------------------------------