summaryrefslogtreecommitdiff
path: root/marlin/extract-files.sh
diff options
context:
space:
mode:
Diffstat (limited to 'marlin/extract-files.sh')
-rwxr-xr-xmarlin/extract-files.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/marlin/extract-files.sh b/marlin/extract-files.sh
index d3f3ea93..533b4e23 100755
--- a/marlin/extract-files.sh
+++ b/marlin/extract-files.sh
@@ -1,6 +1,6 @@
#!/bin/bash
#
-# Copyright (C) 2017-2019 The LineageOS Project
+# Copyright (C) 2017-2019 The Aicp Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -23,9 +23,9 @@ DEVICE=marlin
MY_DIR="${BASH_SOURCE%/*}"
if [[ ! -d "$MY_DIR" ]]; then MY_DIR="$PWD"; fi
-LINEAGE_ROOT="$MY_DIR"/../../..
+AICP_ROOT="$MY_DIR"/../../..
-HELPER="$LINEAGE_ROOT"/vendor/lineage/build/tools/extract_utils.sh
+HELPER="$AICP_ROOT"/vendor/aicp/build/tools/extract_utils.sh
if [ ! -f "$HELPER" ]; then
echo "Unable to find helper script at $HELPER"
exit 1
@@ -49,13 +49,13 @@ else
fi
# Initialize the helper
-setup_vendor "$DEVICE" "$VENDOR" "$LINEAGE_ROOT"
+setup_vendor "$DEVICE" "$VENDOR" "$AICP_ROOT"
extract "$MY_DIR/$DEVICE"/device-proprietary-files.txt "$SRC"
extract "$MY_DIR/$DEVICE"/device-proprietary-files-vendor.txt "$SRC"
# Don't disable MyVerizonServices app
sed -i 's|<disabled-until-used-preinstalled-carrier-app package="com.verizon.mips.services" />|<!--disabled-until-used-preinstalled-carrier-app package="com.verizon.mips.services" /-->|g'\
- "$LINEAGE_ROOT"/vendor/"$VENDOR"/"$DEVICE"/proprietary/etc/sysconfig/nexus.xml
+ "$AICP_ROOT"/vendor/"$VENDOR"/"$DEVICE"/proprietary/etc/sysconfig/nexus.xml
"$MY_DIR/$DEVICE"/setup-makefiles.sh