Skip to content

Commit dbfd352

Browse files
21M4TWShahanaFarooqui
authored andcommitted
Changelog-Fixed: Replacing sed by $(SED) in Makefile
1 parent 3c2d399 commit dbfd352

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Prefer VERSION from environment if provided (e.g., from GitHub Actions)
44
# Extract version from git, or if we're from a zipfile, use dirname
55
VERSION ?= $(shell git describe --tags --always --dirty=-modded --abbrev=7 2>/dev/null || \
6-
pwd | sed -n 's|.*/c\{0,1\}lightning-v\{0,1\}\([0-9a-f.rc\-]*\)$$|v\1|gp')
6+
pwd | $(SED) -n 's|.*/c\{0,1\}lightning-v\{0,1\}\([0-9a-f.rc\-]*\)$$|v\1|gp')
77
$(info Building version $(VERSION))
88

99
# Next release.
@@ -412,7 +412,7 @@ include plugins/Makefile
412412
include tests/plugins/Makefile
413413

414414
# Only include fuzz tests if OpenSSL >= 3.0, will be disabled on ubuntu focal
415-
OPENSSL_VERSION := $(shell openssl version | sed -n 's/OpenSSL \([0-9]\+\)\..*/\1/p')
415+
OPENSSL_VERSION := $(shell openssl version | $(SED) -n 's/OpenSSL \([0-9]\+\)\..*/\1/p')
416416
ifneq ($(shell test $(OPENSSL_VERSION) -ge 3 && echo yes),)
417417
include tests/fuzz/Makefile
418418
endif

0 commit comments

Comments
 (0)