From f14c2edc177bfcf6d581bf5f180cf0c3a5cd2e5e Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 15 Apr 2021 17:44:24 +0000 Subject: build system: ccenv.sh: add missing '-e' argument in sed invocation. --- sofort/ccenv/ccenv.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sofort') 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' -- cgit v1.2.3