Skip to content

Commit

Permalink
makefile: fix empty bash command when user doesn't have klayout
Browse files Browse the repository at this point in the history
Signed-off-by: Kamil Rakoczy <[email protected]>
  • Loading branch information
kamilrakoczy committed May 15, 2024
1 parent aa026d3 commit eead17d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ do-klayout_tech:
cp $(TECH_LEF) $(OBJECTS_DIR)/klayout_tech.lef

KLAYOUT_ENV_VAR_IN_PATH_VERSION = 0.28.11
KLAYOUT_VERSION = $(shell $(KLAYOUT_CMD) -v 2>/dev/null | grep 'KLayout' | cut -d ' ' -f2)
KLAYOUT_VERSION = $(if $(KLAYOUT_CMD),shell $(KLAYOUT_CMD) -v 2>/dev/null | grep 'KLayout' | cut -d ' ' -f2,))

KLAYOUT_ENV_VAR_IN_PATH = $(shell \
if [ -z "$(KLAYOUT_VERSION)" ]; then \
Expand Down

0 comments on commit eead17d

Please sign in to comment.