From 02381795698f522d66138d3865b8cc75772d9104 Mon Sep 17 00:00:00 2001 From: Johan Nordberg Date: Sun, 29 May 2016 12:33:02 +0200 Subject: Fix Makefile build on OS X --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c1ccdb9..3bc6e9f 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,7 @@ # created here are checked in so people on all platforms can run npm scripts. # This build should be run once per release. +SHELL=/bin/bash export PATH := ./node_modules/.bin/:$(PATH):./bin/ PACKAGE = asyncjs @@ -75,7 +76,7 @@ build-es: $(ES_MODULES) $(BUILD_ES)/%.js: lib/%.js mkdir -p "$(@D)" - sed -r "s/(import.+)lodash/\1lodash-es/g" $< > $@ + sed -E "s/(import.+)lodash/\1lodash-es/g" $< > $@ test-build: mocha support/build.test.js -- cgit v1.2.1