From 14c0587a19dd859a9de53b732c7c192e516bcc7c Mon Sep 17 00:00:00 2001 From: Jeremy Elbourn Date: Fri, 2 Jun 2017 08:48:49 -0700 Subject: [PATCH] Change fetch-assets script to work w/ npm 5 (#163) --- tools/fetch-assets.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/fetch-assets.sh b/tools/fetch-assets.sh index 1636c108e..bd29ca47c 100755 --- a/tools/fetch-assets.sh +++ b/tools/fetch-assets.sh @@ -38,7 +38,8 @@ cp -r ${examplesPath} ${exampleAssetsPath} cp -r ${plunkerExamplesPath} ${plunkerExampleAssetsPath} # Install the live examples component library -npm i ${tmpAssetClonePath}/examples-package +mkdir -p ./node_modules/@angular/material-examples +cp -r ${tmpAssetClonePath}/examples-package/* ./node_modules/@angular/material-examples # Remove temporary directory rm -rf ${tmpAssetClonePath}