Skip to content

Commit 9fddea4

Browse files
author
Ethan Zonca
committed
Sanitize remote URL
1 parent 0e2e916 commit 9fddea4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ SOURCES = main.c system.c usbd_conf.c usbd_cdc_if.c usb_device.c usbd_desc.c int
1414

1515
# Get git version and dirty flag
1616
GIT_VERSION := $(shell git describe --abbrev=7 --dirty --always --tags)
17-
GIT_REMOTE := $(shell git config --get remote.origin.url)
17+
GIT_REMOTE := $(shell git config --get remote.origin.url | sed 's/^.*github/github/')
1818

1919
# TARGET: name of the user application
2020
TARGET = canable-$(GIT_VERSION)

0 commit comments

Comments
 (0)