We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6c8329e + 6542346 commit e8d1bc4Copy full SHA for e8d1bc4
Makefile
@@ -12,9 +12,11 @@ ifeq (, $(PARSER_NAME))
12
endif
13
14
ifeq (, $(PARSER_URL))
15
- PARSER_URL := $(subst :,/,$(PARSER_REPO_URL))
+ PARSER_URL := $(subst .git,,$(PARSER_REPO_URL))
16
+ifeq ($(shell echo $(PARSER_URL) | grep '^[a-z][-+.0-9a-z]*://'),)
17
+ PARSER_URL := $(subst :,/,$(PARSER_URL))
18
PARSER_URL := $(subst git@,https://,$(PARSER_URL))
- PARSER_URL := $(subst .git,,$(PARSER_URL))
19
+endif
20
21
22
UPPER_PARSER_NAME := $(shell echo $(PARSER_NAME) | tr a-z A-Z )
0 commit comments