diff --git a/PKGBUILD b/PKGBUILD index 43826fa..aa2ca22 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -147,7 +147,7 @@ prepare() { ### Add Clear Linux patches echo ":: prepare: patching kernel with Clear Linux patches" # shellcheck disable=SC2013 - for i in $(grep '^Patch' "${srcdir}"/cl-linux/linux.spec|grep -Ev '^Patch0132|^Patch0109|^Patch0118|^Patch0113|^Patch0138|^Patch0139|^Patch0147' | sed -n 's/.*: //p'); do + for i in $(grep '^Patch' "${srcdir}"/cl-linux/linux.spec"|grep -Ev '^Patch0132|^Patch0109|^Patch0118|^Patch0113|^Patch0138|^Patch0139|^Patch0147' | sed -n 's/.*: //p'); do if [ -n "$_use_llvm_lto" ]; then if [ "${i}" == "0162-extra-optmization-flags.patch" ] ; then continue diff --git a/PKGBUILD.buildtool b/PKGBUILD.buildtool index 5b8a0c9..d035549 100644 --- a/PKGBUILD.buildtool +++ b/PKGBUILD.buildtool @@ -63,7 +63,7 @@ prepare() { ### Add Clear Linux patches echo ":: prepare: patching kernel with Clear Linux patches" # shellcheck disable=SC2013 - for i in $(grep '^Patch' "${srcdir}"/cl-linux/linux.spec|grep -Ev '^Patch0132|^Patch0109|^Patch0118|^Patch0113|^Patch0138|^Patch0139|^Patch0147' | sed -n 's/.*: //p'); do + for i in $(grep '^Patch' "${srcdir}"/cl-linux/linux.spec"|grep -Ev '^Patch0132|^Patch0109|^Patch0118|^Patch0113|^Patch0138|^Patch0139|^Patch0147' | sed -n 's/.*: //p'); do if [ -n "$_use_llvm_lto" ]; then if [ "${i}" == "0162-extra-optmization-flags.patch" ] ; then continue