aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2016-10-11 09:33:18 +0200
committerJo-Philipp Wich <jo@mein.io>2016-10-11 10:07:25 +0200
commitb81fc29123f777f61d99c59c214a69e253cb2cc0 (patch)
tree7914258dc71e35391b0f1a90b3d5e4f29d2f2f54 /include
parent0547b3ca64f8d7dfdde65c638d1ff3d2a57b1abb (diff)
downloadupstream-b81fc29123f777f61d99c59c214a69e253cb2cc0.tar.gz
upstream-b81fc29123f777f61d99c59c214a69e253cb2cc0.tar.bz2
upstream-b81fc29123f777f61d99c59c214a69e253cb2cc0.zip
include: prereq-build.mk: improve gcp check
Adjust the check for gcp (GNU copy command) to rule out false positives with "Goffi's CoPier" a python copy command. Fixes FS#218. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'include')
-rw-r--r--include/prereq-build.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/prereq-build.mk b/include/prereq-build.mk
index 4a0509ac00..ed652ca9a7 100644
--- a/include/prereq-build.mk
+++ b/include/prereq-build.mk
@@ -109,8 +109,8 @@ $(eval $(call SetupHostCommand,diff,Please install diffutils, \
diff --version 2>&1 | grep diff))
$(eval $(call SetupHostCommand,cp,Please install GNU fileutils, \
- gcp --help, \
- cp --help))
+ gcp --help 2>&1 | grep 'Copy SOURCE', \
+ cp --help 2>&1 | grep 'Copy SOURCE'))
$(eval $(call SetupHostCommand,seq,, \
gseq --version, \