android_device_xiaomi_haydn/extract-files.sh
AdarshGrewal 712ff072f0 haydn: Import common extract scripts
Change-Id: I57ed17753128aaabe17adf05d2c0186369bff392
2022-10-12 04:09:39 +05:30

21 lines
431 B
Bash
Executable file

#!/bin/bash
#
# Copyright (C) 2020 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# If we're being sourced by the common script that we called,
# stop right here. No need to go down the rabbit hole.
if [ "${BASH_SOURCE[0]}" != "${0}" ]; then
return
fi
set -e
# Required!
export DEVICE=haydn
export DEVICE_COMMON=sm8350-common
export VENDOR=xiaomi
"./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@"