Skip to content

Commit 196e521

Browse files
authored
Strip whitespace from SHA1 and BRANCH input in git-external, fixes #32637. (#32991)
1 parent fa641c6 commit 196e521

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deps/tools/git-external.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
#
2323
define git-external
2424
include $$(SRCDIR)/$1.version
25+
$2_SHA1 := $$(strip $$($2_SHA1))
26+
$2_BRANCH := $$(strip $$($2_BRANCH))
2527

2628
ifneq (,$$(filter $1 1,$$(DEPS_GIT)))
2729
$2_SRC_DIR := $1

0 commit comments

Comments
 (0)