Skip to content

Commit eb98624

Browse files
author
Cerem Cem ASLAN
committed
fixed SCADAJS_1_ENV variable detection
1 parent cddfb93 commit eb98624

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ freeze-venv: __c
4747
freeze ./requirements.txt
4848

4949
create-venv:
50-
$(if $(value $(SCADAJS_1_ENV)),,$(error SCADAJS_1_ENV variable is set, use it instead: $(SCADAJS_1_ENV)))
50+
$(if $(SCADAJS_1_ENV),$(error SCADAJS_1_ENV variable is set, use it instead: $(SCADAJS_1_ENV)))
5151
$(eval NODE_VERSION := $(shell echo `grep "^#node@" $(VENV_NAME).env | cut -d@ -f2` | sed 's/^$$/system/'))
5252
nodeenv --requirement=./$(VENV_NAME).env --node=$(NODE_VERSION) --jobs=4 $(VENV_NAME)
5353
mv $(VENV_NAME) nodeenv

0 commit comments

Comments
 (0)