Skip to content
Snippets Groups Projects
Commit 232beeaa authored by cls%seawood.org's avatar cls%seawood.org
Browse files

sed regex needs to be quoted

parent 85046549
No related branches found
No related tags found
No related merge requests found
......@@ -80,10 +80,10 @@ endif
# on os2, TOPSRCDIR may have two forward slashes in a row, which doesn't
# work; replace first instance with one forward slash
TOPSRCDIR := $(shell echo $(TOPSRCDIR) | sed s%//%/%)
TOPSRCDIR := $(shell echo "$(TOPSRCDIR)" | sed -e 's%//%/%')
# if ROOTDIR equals only drive letter (i.e. "C:"), set to "/"
DIRNAME := $(shell echo $(ROOTDIR) | sed s/^.://)
DIRNAME := $(shell echo "$(ROOTDIR)" | sed -e 's/^.://')
ifeq ($(DIRNAME),)
ROOTDIR := /.
endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment