extract-files.sh 524 B

1234567891011121314151617181920212223242526
  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. function blob_fixup() {
  9. case "${1}" in
  10. esac
  11. }
  12. # If we're being sourced by the common script that we called,
  13. # stop right here. No need to go down the rabbit hole.
  14. if [ "${BASH_SOURCE[0]}" != "${0}" ]; then
  15. return
  16. fi
  17. set -e
  18. export DEVICE=cupid
  19. export DEVICE_COMMON=sm8450-common
  20. export VENDOR=xiaomi
  21. "./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@"