sabrina: init: Do not change permissions of WiFi FW reload sysfs paths
[GitHub/LineageOS/G12/android_device_google_sabrina.git] / extract-files.sh
1 #!/bin/bash
2 #
3 # Copyright (C) 2016 The CyanogenMod Project
4 # Copyright (C) 2017-2020 The LineageOS Project
5 #
6 # SPDX-License-Identifier: Apache-2.0
7 #
8
9 # If we're being sourced by the common script that we called,
10 # stop right here. No need to go down the rabbit hole.
11 if [ "${BASH_SOURCE[0]}" != "${0}" ]; then
12 return
13 fi
14
15 set -e
16
17 export DEVICE=sabrina
18 export DEVICE_COMMON=g12-common
19 export VENDOR=google
20 export VENDOR_COMMON=amlogic
21
22 "./../../${VENDOR_COMMON}/${DEVICE_COMMON}/extract-files.sh" "$@"