Skip to content

Commit

Permalink
fix(js/Makefile): find packages correctly on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
nmeier committed Sep 25, 2019
1 parent a30b78f commit 3f4a13c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions js/Makefile
Expand Up @@ -11,7 +11,8 @@ endif
ifeq ($(UNAME_S),Linux)
export SHELL = /usr/bin/bash
npm := /usr/bin/npm
pkg := $(shell find $(PWD)/packages -maxdepth 1 -type d)
pkg := $(filter-out $(PWD)/packages, $(shell find $(PWD)/packages -maxdepth 1 -type d))
else
endif
npm_flags := --no-progress

Expand All @@ -25,7 +26,7 @@ lerna_exec := $(lerna) $(lerna_flags) exec --stream --parallel --scope=$1 --

eslint := $(bin)/eslint

pkg := $(shell find $(PWD)/packages -depth 1 -type d)
pkg ?= $(shell find $(PWD)/packages -depth 1 -type d)
pkg_mod := $(patsubst %, %/node_modules, $(pkg))

include packages/berty-app/Makefile
Expand Down

0 comments on commit 3f4a13c

Please sign in to comment.