mirror of
https://github.com/sickcodes/osx-serial-generator.git
synced 2025-01-29 17:08:25 +00:00
fix: remove non-POSIX compliant shell expansion
This commit is contained in:
parent
4f84746f6d
commit
899bc3fde8
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue