From da006546d8979a6a572de0a12c0c22be6a6340c1 Mon Sep 17 00:00:00 2001 From: Dan King Date: Fri, 6 Oct 2023 11:21:27 -0400 Subject: [PATCH] [query] install-editable, but using an if instead (#13775) --- hail/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hail/Makefile b/hail/Makefile index 07075a2611a..e52b2579261 100644 --- a/hail/Makefile +++ b/hail/Makefile @@ -357,7 +357,9 @@ upload-qob-jar: $(SHADOW_JAR) # if the installation of Hail has changed, i.e. you pip-installed a non-development version of Hail, # this file will be newer than "install-editable" -install-editable: $(shell pip3 show hail | grep Location: | sed 's/Location: //')/hail/__init__.py +CURRENT_INSTALL = $(shell pip3 show -qq hail | grep Location: | sed 's/Location: //') + +install-editable: $(if ($(CURRENT_INSTALL),),,$(CURRENT_INSTALL)/hail/__init__.py) install-editable: python/setup.py install-editable: python/requirements.txt install-editable: python/README.md