This commit is contained in:
Peter Šurda 2022-09-20 18:58:14 +08:00
parent b8b71aa1bd
commit 7bba9f8d84
Signed by: PeterSurda
GPG Key ID: 3E47497CF67ABB95

View File

@ -39,10 +39,10 @@ function sed_enabled_ipxe_features() {
CERT_CMD CERT_CMD
do do
sed -ri \ sed -ri \
"s/^\\/+#define[[:space:]]+$OPTION[[:space:]/#define $OPTION /g" \ "s/^\\/+#define[[:space:]]+$OPTION[[:space:]]/#define $OPTION /g" \
"${ipxe_src_dir}/src/config/general.h" "${ipxe_src_dir}/src/config/general.h"
sed -ri sed -ri
"s/^#undef[[:space:]]+$OPTION[[:space:]/#define $OPTION /g" \ "s/^#undef[[:space:]]+$OPTION[[:space:]]/#define $OPTION /g" \
"${ipxe_src_dir}/src/config/general.h" "${ipxe_src_dir}/src/config/general.h"
done done