From 9bb5dac5937698252ea0fc97c255aa7a6db0db84 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 15 Mar 2019 21:23:31 +0300 Subject: [PATCH] build: fix seq host tool check Problem found on alpine linux when trying to `./scripts/feeds update -a`, which results in `Build dependency: Missing seq command`. Ref: https://github.com/openwrt/openwrt/pull/1926 Suggested-by: imShara [reworded commit and turned faulty Sob into Suggested-by] Signed-off-by: Jo-Philipp Wich --- include/prereq-build.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/prereq-build.mk b/include/prereq-build.mk index 0f2a35c93b..4c59910056 100644 --- a/include/prereq-build.mk +++ b/include/prereq-build.mk @@ -105,9 +105,9 @@ $(eval $(call SetupHostCommand,cp,Please install GNU fileutils, \ gcp --help 2>&1 | grep 'Copy SOURCE', \ cp --help 2>&1 | grep 'Copy SOURCE')) -$(eval $(call SetupHostCommand,seq,, \ +$(eval $(call SetupHostCommand,seq,Please install seq, \ gseq --version, \ - seq --version)) + seq --version 2>&1 | grep seq)) $(eval $(call SetupHostCommand,awk,Please install GNU 'awk', \ gawk --version 2>&1 | grep GNU, \ -- 2.30.2