From 0b69d3a64f9880ed22eb3a1259521b7b4f0abb25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guntars=20A=C5=A1manis-Graham?= Date: Fri, 30 Sep 2016 14:31:30 -0400 Subject: [PATCH] Unbreak the nightly build Typescript now has a `transformers` directory in `./src/compiler` which caused the `cp` command to exit with message `cp: omitting directory `./src/compiler/transformers'` and exit code 1. The fix is to add -r flag to make it copy directories recursively. --- prepare.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prepare.sh b/prepare.sh index bb1a2cf..234d5da 100755 --- a/prepare.sh +++ b/prepare.sh @@ -22,7 +22,7 @@ npm install cp ./built/local/* ./bin/ # Copy the source TypeScript compiler and services, but not the tsconfig.json files -cp ./src/compiler/* ../src/compiler +cp -r ./src/compiler/* ../src/compiler cp -r ./src/services/* ../src/services rm ../src/services/tsconfig.json ../src/compiler/tsconfig.json