From f552011aed90719a8576f251c2f25c99ccbc6f12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20=C5=A0urda?= Date: Tue, 20 Sep 2022 18:59:59 +0800 Subject: [PATCH] Fix sed command line arguments --- buildbot/buildbot_steps.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildbot/buildbot_steps.sh b/buildbot/buildbot_steps.sh index 7059619..92f58a9 100755 --- a/buildbot/buildbot_steps.sh +++ b/buildbot/buildbot_steps.sh @@ -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