build: allow build-packages-dist.sh to be run from anywhere (#29092)

PR Close #29092
This commit is contained in:
Pete Bacon Darwin 2019-03-20 13:47:57 +00:00 committed by Matias Niemelä
parent bc88816c10
commit 7a67f8935d
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
source ./scripts/package-builder.sh
source $(dirname $0)/package-builder.sh
# Build the ivy packages
buildTargetPackages "dist/packages-dist-ivy-aot" "aot" "Ivy AOT"

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
source ./scripts/package-builder.sh
source $(dirname $0)/package-builder.sh
# Build the legacy (view engine) npm packages into dist/packages-dist
buildTargetPackages "dist/packages-dist" "legacy" "Production"