Skip to content

Commit

Permalink
Makefile: escape '#' in shell function
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaZulberti committed Sep 28, 2024
1 parent cc4fdd8 commit c3658cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ install-lib: install-mod Makefile src/core/version.h
RELEASE_FILES=$(shell echo src/core/version.h; git ls-files --recurse-submodules)
ifeq ($(VKDT_USE_RAWINPUT), 1)
RAWSPEED_DIR=$(shell ls -d src/pipe/modules/i-raw/rawspeed-*)
RELEASE_FILES+=$(shell cd $(RAWSPEED_DIR) && git ls-files | sed -e 's#^#$(RAWSPEED_DIR)/#')
RELEASE_FILES+=$(shell cd $(RAWSPEED_DIR) && git ls-files | sed -e 's\#^\#$(RAWSPEED_DIR)/\#')
endif
ifeq ($(VKDT_USE_MCRAW), 1)
MCRAW_DIR=$(shell ls -d src/pipe/modules/i-mcraw/mcraw-*)
RELEASE_FILES+=$(shell cd $(MCRAW_DIR) && git ls-files | sed -e 's#^#$(MCRAW_DIR)/#')
RELEASE_FILES+=$(shell cd $(MCRAW_DIR) && git ls-files | sed -e 's\#^\#$(MCRAW_DIR)/\#')
endif
ifeq ($(VKDT_USE_QUAKE), 1)
RELEASE_FILES+=$(shell cd src/pipe/modules/quake/quakespasm; git ls-files | sed -e 's#^#src/pipe/modules/quake/quakespasm/#')
RELEASE_FILES+=$(shell cd src/pipe/modules/quake/quakespasm; git ls-files | sed -e 's\#^\#src/pipe/modules/quake/quakespasm/\#')
endif
RELEASE_FILES:=$(filter-out .%,$(RELEASE_FILES))

Expand Down

0 comments on commit c3658cf

Please sign in to comment.