diff --git a/Makefile b/Makefile index e93382855f4..f5c64de4c43 100644 --- a/Makefile +++ b/Makefile @@ -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