From: Jo-Philipp Wich Date: Fri, 15 Mar 2019 18:23:31 +0000 (+0300) Subject: build: fix seq host tool check X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=9bb5dac5937698252ea0fc97c255aa7a6db0db84;p=openwrt%2Fstaging%2Fzorun.git 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 --- 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, \