Fix sed command line arguments

This commit is contained in:
Peter Šurda 2022-09-20 18:59:59 +08:00
parent 7bba9f8d84
commit f552011aed
Signed by: PeterSurda
GPG Key ID: 3E47497CF67ABB95
1 changed files with 2 additions and 2 deletions

View File

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