From 2ca00e65c78e4a525fbdf24c3cdb38c8caeb7d5a Mon Sep 17 00:00:00 2001 From: Jeremy Elbourn Date: Thu, 1 Jun 2017 13:32:56 -0700 Subject: [PATCH] Change fetch-assets script to work w/ npm 5 --- 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}