From 2a1482daebb4cc85c6b173e8ec3fa568cfc5d0f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 20 Feb 2021 13:10:46 +0700 Subject: [PATCH] build-style/cmake: add missing "{}" --- common/build-style/cmake.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/build-style/cmake.sh b/common/build-style/cmake.sh index 2eb512ee39..5100a96dfd 100644 --- a/common/build-style/cmake.sh +++ b/common/build-style/cmake.sh @@ -69,7 +69,7 @@ _EOF # Replace -isystem with -I if [ "$CMAKE_GENERATOR" = "Unix Makefiles" ]; then - find . -name flags.make -exec sed -i -e 's/-isystem/-I/g' + + find . -name flags.make -exec sed -i -e 's/-isystem/-I/g' "{}" + elif [ "$CMAKE_GENERATOR" = Ninja ]; then sed -i -e 's/-isystem/-I/g' build.ninja fi