From 18b1dbd8930d617c605f2eff315512b44c7dd1e9 Mon Sep 17 00:00:00 2001 From: Gabriel2392 Date: Thu, 4 Nov 2021 03:24:09 +0000 Subject: [PATCH] setup.sh: default to aosp vendor --- a20/setup.sh | 4 ++-- a20e/setup.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/a20/setup.sh b/a20/setup.sh index aae9788..a7532cd 100755 --- a/a20/setup.sh +++ b/a20/setup.sh @@ -1,6 +1,6 @@ VENDOR=$(cat device/samsung/universal7885-common/vendor_name) -if [ ! VENDOR ]; then -exit 1; +if [ ! $VENDOR ]; then +VENDOR=aosp; fi # Generate AndroidProducts.mk echo "# Auto-Generated by device/samsung/a20/setup.sh" > device/samsung/a20/AndroidProducts.mk diff --git a/a20e/setup.sh b/a20e/setup.sh index a0ad52a..2c17ce1 100755 --- a/a20e/setup.sh +++ b/a20e/setup.sh @@ -1,6 +1,6 @@ VENDOR=$(cat device/samsung/universal7885-common/vendor_name) -if [ ! VENDOR ]; then -exit 1; +if [ ! $VENDOR ]; then +VENDOR=aosp; fi # Generate AndroidProducts.mk