Determine how to invoke sed with extended regexp

This will require re-running configure
This commit is contained in:
Niels Sascha Reedijk
2013-09-30 21:41:54 +02:00
parent a69102a1f3
commit f04f7042c5
2 changed files with 9 additions and 1 deletions
+2 -1
View File
@@ -454,7 +454,8 @@ rule DownloadFile file : url : source
actions ChecksumFileSHA256
{
$(HOST_SHA256) $(2) | sed -r 's,([^[:space:]]*).*,\1,' > $(1)
$(HOST_SHA256) $(2) \
| $(HOST_EXTENDED_REGEX_SED) 's,([^[:space:]]*).*,\1,' > $(1)
# The sed part is only necessary for sha256sum, but it doesn't harm for
# sha256 either.
}