2021-12-14 07:06:18 -08:00
|
|
|
#!/bin/bash
|
|
|
|
#
|
2023-01-14 06:02:03 -08:00
|
|
|
# Copyright (C) 2016 The CyanogenMod Project
|
|
|
|
# Copyright (C) 2017-2023 The LineageOS Project
|
2021-12-14 07:06:18 -08:00
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
2023-01-14 06:02:03 -08:00
|
|
|
# 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
|
2021-12-14 07:06:18 -08:00
|
|
|
fi
|
|
|
|
|
2023-01-14 06:02:03 -08:00
|
|
|
set -e
|
2021-12-14 07:06:18 -08:00
|
|
|
|
2023-01-14 06:02:03 -08:00
|
|
|
export DEVICE=a52q
|
|
|
|
export DEVICE_COMMON=sm7125-common
|
|
|
|
export VENDOR=samsung
|
2021-12-14 07:06:18 -08:00
|
|
|
|
2023-01-14 06:02:03 -08:00
|
|
|
"./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@"
|