Skip to content

Commit

Permalink
Merge pull request #11408 from jonjohnsonjr/maybe-fix-get-source-dir
Browse files Browse the repository at this point in the history
Fix get-source-dir
  • Loading branch information
imjasonh authored Jan 18, 2024
2 parents de91acf + 1ce7052 commit a60c69f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,9 @@ endef
define get-source-dir
$(info getting source dir for package $(3) with dir $(2))
$(1) := $(shell set -x; if [[ "." == "$(2)" ]]; then \
if [[ -d "./$(3)" ]]; then \
echo "--source-dir ./$(3)"; \
fi \
echo "--source-dir ./$(3)"; \
else \
if [[ -d "$(2)" ]]; then \
echo "--source-dir $(2)"; \
fi \
echo "--source-dir $(2)"; \
fi)
endef

Expand Down

0 comments on commit a60c69f

Please sign in to comment.