fix: remove non-POSIX compliant shell expansion

This commit is contained in:
ChandonPierre 2022-09-28 17:14:19 -04:00
parent 4f84746f6d
commit 899bc3fde8

View file

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