From 373960ada677918e37d9551694965b2b5ccb73b9 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Thu, 25 Jun 2020 17:59:18 -0400 Subject: Update autobuild scripts Fix a couple of issues related to running the autobuild script from outside the source tree. Bug-AGL: SPEC-3300 Signed-off-by: Scott Murray Change-Id: Ieff7b785dda3c8fa25c89cc31d37207eb8d16e2c --- autobuild/agl/autobuild | 2 ++ 1 file changed, 2 insertions(+) (limited to 'autobuild/agl') diff --git a/autobuild/agl/autobuild b/autobuild/agl/autobuild index fa1d1c2..fa27570 100755 --- a/autobuild/agl/autobuild +++ b/autobuild/agl/autobuild @@ -73,6 +73,7 @@ clean-all: clean-release distclean: clean-all configure-release: clean-release + @cd $(ROOT_DIR) @rm -rf node_modules @npm install @@ -90,6 +91,7 @@ build-debug: ; build-all: build-release package-release: package-%: build-% + @mkdir -p $(OUTPUT_DIR)/ @cp $(ROOT_DIR)/package/*.wgt $(OUTPUT_DIR)/ @if [ "$(abspath $(DEST))" != "$(abspath $(OUTPUT_DIR))" ]; then \ mkdir -p $(DEST) && cp $(OUTPUT_DIR)/*.wgt $(DEST); \ -- cgit 1.2.3-korg