From f975bb023813df2de8038df9c342d6a71a457d6c Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Wed, 10 Aug 2016 00:28:26 +0100 Subject: fix messing sed command in last commit --- resources/scripts/helpers/build/module/coreboot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resources') diff --git a/resources/scripts/helpers/build/module/coreboot b/resources/scripts/helpers/build/module/coreboot index 460b5721..ac19790f 100755 --- a/resources/scripts/helpers/build/module/coreboot +++ b/resources/scripts/helpers/build/module/coreboot @@ -190,7 +190,7 @@ for payload in coreboot/*; do # cbfstool, cbmem, nvramtool for util in {cbfs,nvram}tool cbmem; do if [ "${util}" = "cbfstool" ]; then - grep -wq "\-Wno\-sign\-compare" ${board}/util/cbfstool/Makefile.inc || s/"\$(objutil)/cbfstool/fmd_scanner.o: \$(objutil)/cbfstool/fmd.o"/"\$(objutil)/cbfstool/fmd_scanner.o: \$(objutil)/cbfstool/fmd.o\n\$(objutil)\/cbfstool\/fmd_scanner.o: TOOLCFLAGS += \-Wno\-sign\-compare" + grep -wq "\-Wno\-sign\-compare" ${board}/util/cbfstool/Makefile.inc || sed -i -- "s/'\$(objutil)/cbfstool/fmd_scanner.o: \$(objutil)/cbfstool/fmd.o'/'\$(objutil)/cbfstool/fmd_scanner.o: \$(objutil)/cbfstool/fmd.o\n\$(objutil)\/cbfstool\/fmd_scanner.o: TOOLCFLAGS += \-Wno\-sign\-compare'" ${board}/util/cbfstool/Makefile.inc fi make -BC "${board}/util/${util}" done -- cgit v1.2.3-70-g09d2