Skip to content

Commit 7bf5ed7

Browse files
committed
rules.mk: Use correct regex to limit to dbg lines
Signed-off-by: Manuel Mendez <github@i.m.mmlb.dev>
1 parent deb3a19 commit 7bf5ed7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ out/$T/$(1)/$(2)/cmdline out/$T/$(1)/$(2)/initrd.img out/$T/$(1)/$(2)/kernel: ou
4747
out/$T/$(1)/$(2)/hook.yaml: $$(LINUXKIT_CONFIG)
4848
sed '/hook-\(bootkit\|docker\):/ { s|:latest|:$T-$(2)|; s|quay.io/tinkerbell|$(ORG)|; }' $$< > $$@
4949
if [[ $(1) == dbg ]]; then
50-
sed -i '/^\s*dbg/ s|#dbg||' $$@
50+
sed -i '/^\s*#dbg/ s|#dbg||' $$@
5151
fi
5252
endef
5353
$(foreach m,$(modes),$(foreach a,$(arches),$(eval $(call foreach_mode_arch_rules,$m,$a))))

0 commit comments

Comments
 (0)