troika: extract_utils: Run shellcheck
authorNolen Johnson <johnsonnolen@gmail.com>
Mon, 10 May 2021 17:53:48 +0000 (13:53 -0400)
committerNolen Johnson <johnsonnolen@gmail.com>
Mon, 10 May 2021 18:00:20 +0000 (20:00 +0200)
Change-Id: I53e9d5b4d761e7e7ebc0f3cefdd3772aae5aba66

extract-files.sh

index c0ed397f014acb54b6cc463434aed514f9764749..6f02ff909eaf0765efb122db17510ff822c5018c 100755 (executable)
@@ -62,11 +62,11 @@ extract "${MY_DIR}/proprietary-files.txt" "${SRC}" "${KANG}" --section "${SECTIO
 BLOB_ROOT="$ANDROID_ROOT"/vendor/"$VENDOR"/"$DEVICE"/proprietary
 
 # Remove libhidltransport dependency
-"${PATCHELF}" --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib/libril_sitril.so
-"${PATCHELF}" --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/libril_sitril.so
+"${PATCHELF}" --remove-needed "libhidltransport.so" "${BLOB_ROOT}"/vendor/lib/libril_sitril.so
+"${PATCHELF}" --remove-needed "libhidltransport.so" "${BLOB_ROOT}"/vendor/lib64/libril_sitril.so
 
 # Remove libhwbinder dependency
-"${PATCHELF}" --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib/libril_sitril.so
-"${PATCHELF}" --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib64/libril_sitril.so
+"${PATCHELF}" --remove-needed "libhwbinder.so" "${BLOB_ROOT}"/vendor/lib/libril_sitril.so
+"${PATCHELF}" --remove-needed "libhwbinder.so" "${BLOB_ROOT}"/vendor/lib64/libril_sitril.so
 
 "${MY_DIR}/setup-makefiles.sh"