summaryrefslogtreecommitdiffhomepage
path: root/sofort/ccenv
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-04-15 17:44:24 +0000
committermidipix <writeonce@midipix.org>2021-04-15 18:16:29 +0000
commitb18348db7fc9d55e01bf2b1e01d381bae7f26d62 (patch)
tree50c05c9b1f56acd97f4a86ec87c4f8af76f7fc46 /sofort/ccenv
parent5f8f545f2f560bcc628779228c01fd38d327dcef (diff)
downloadapimagic-b18348db7fc9d55e01bf2b1e01d381bae7f26d62.tar.bz2
apimagic-b18348db7fc9d55e01bf2b1e01d381bae7f26d62.tar.xz
build system: ccenv.sh: add missing '-e' argument in sed invocation.
Diffstat (limited to 'sofort/ccenv')
-rw-r--r--sofort/ccenv/ccenv.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/sofort/ccenv/ccenv.sh b/sofort/ccenv/ccenv.sh
index a9fdc96..95effcb 100644
--- a/sofort/ccenv/ccenv.sh
+++ b/sofort/ccenv/ccenv.sh
@@ -834,7 +834,8 @@ ccenv_set_cc_binfmt()
# MACHO / readobj
if [ -n "$ccenv_readobj" ] && [ -z "$ccenv_cc_binfmt" ]; then
if $ccenv_readobj $ccenv_image 2>&3 \
- | grep -i 'Format:' | sed 's/ /_/g' \
+ | grep -i 'Format:' \
+ | sed -e 's/ /_/g' \
| grep -i '_Mach-O_' \
> /dev/null; then
ccenv_cc_binfmt='MACHO'