mirror of
https://github.com/sickcodes/osx-serial-generator.git
synced 2024-12-26 17:36:21 +00:00
Fixes #14, missing ROM_VALUE, fixed with ROM=ROM etc.
This commit is contained in:
parent
7a56669ec4
commit
d5f3ff3f81
|
@ -0,0 +1 @@
|
|||
[https://github.com/ivankoma](https://github.com/ivankoma) - Empty ROM data in config.plist #14
|
|
@ -335,8 +335,8 @@ EOF
|
|||
|
||||
mkdir -p "${OUTPUT_DIRECTORY}/plists"
|
||||
source "${OUTPUT_ENV_FILE}"
|
||||
ROM_VALUE="${MAC_ADDRESS//\:/}"
|
||||
ROM_VALUE="${ROM_VALUE,,}"
|
||||
ROM="${MAC_ADDRESS//\:/}"
|
||||
ROM="${ROM,,}"
|
||||
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