diff --git a/Makefile b/Makefile index 4f05bedb253..cc2944b3b0f 100644 --- a/Makefile +++ b/Makefile @@ -8,11 +8,11 @@ ifeq ($(findstring /,$(URCHIN)),) # urchin path was NOT passed in. # Add the local npm packages' bin folder to the PATH, so that `make` can find them, when invoked directly. # Note that rather than using `$(npm bin)` the 'node_modules/.bin' path component is hard-coded, so that invocation works even from an environment # where npm is (temporarily) unavailable due to having deactivated an nvm instance loaded into the calling shell in order to avoid interference with tests. - export PATH := $(shell printf '%s' "$$PWD/node_modules/.bin:/Users/narfdre/.nvm/versions/node/v22.1.0/bin:$$PATH") + export PATH := $(shell printf '%s' "$$PWD/node_modules/.bin:$$PATH") # The list of all supporting utilities, installed with `npm install`. UTILS := $(URCHIN) replace semver # Make sure that all required utilities can be located. - UTIL_CHECK := $(or $(shell PATH="$(PATH)" which $(UTILS) >/dev/null && echo 'ok'),$(error Did you forget to run `npm install` after cloning the repo? At least one of the required supporting utilities not found: $(UTILS), $(PATH))) + UTIL_CHECK := $(or $(shell PATH="$(PATH)" which $(UTILS) >/dev/null && echo 'ok'),$(error Did you forget to run `npm install` after cloning the repo? At least one of the required supporting utilities not found: $(UTILS))) endif # The files that need updating when incrementing the version number. VERSIONED_FILES := nvm.sh install.sh README.md package.json