shellcheck cpierre/zsh

This commit is contained in:
sickcodes 2022-11-14 17:15:16 +00:00 committed by GitHub
parent 77c1bff918
commit 2ae89c4c17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -337,7 +337,7 @@ EOF
mkdir -p "${OUTPUT_DIRECTORY}/plists"
source "${OUTPUT_ENV_FILE}"
ROM="${MAC_ADDRESS//\:/}"
ROM=$(echo ${ROM} | awk '{print tolower($0)}')
ROM="$(awk '{print tolower($0)}' <<< "${ROM}")"
sed -e s/\{\{DEVICE_MODEL\}\}/"${DEVICE_MODEL}"/g \
-e s/\{\{SERIAL\}\}/"${SERIAL}"/g \
-e s/\{\{BOARD_SERIAL\}\}/"${BOARD_SERIAL}"/g \