Fix sed command line arguments
This commit is contained in:
parent
7bba9f8d84
commit
f552011aed
|
@ -38,10 +38,10 @@ function sed_enabled_ipxe_features() {
|
||||||
NTP_CMD \
|
NTP_CMD \
|
||||||
CERT_CMD
|
CERT_CMD
|
||||||
do
|
do
|
||||||
sed -ri \
|
sed -i -r \
|
||||||
"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 -i -r \
|
||||||
"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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user