Commit 37c201c2 authored by Hugh Davenport's avatar Hugh Davenport

Fix Makefile tests with checkscript

Not having quote marks around the tokens meant that it
sometimes didn't set remote correctly if it was blank
or .

Change-Id: I63be4ca423be8eaa0601a80d7fe712401bad02f7
Signed-off-by: default avatarHugh Davenport <hugh@catalyst.net.nz>
parent 588126aa
......@@ -21,10 +21,10 @@ else
remote := $(shell bash -c "git config --get branch.$(branch).remote" )
endif
ifeq (., $(remote))
ifeq (".", "$(remote)")
remote := origin
endif
ifeq ("", $(remote))
ifeq ("", "$(remote)")
remote := origin
endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment