From d5f3ff3f81d13d696556b78024fbebde8e5b7281 Mon Sep 17 00:00:00 2001 From: sickcodes Date: Mon, 13 Sep 2021 05:38:41 +0000 Subject: [PATCH] Fixes #14, missing ROM_VALUE, fixed with ROM=ROM etc. --- CREDITS.md | 1 + generate-unique-machine-values.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CREDITS.md b/CREDITS.md index e69de29..6a8d3bf 100644 --- a/CREDITS.md +++ b/CREDITS.md @@ -0,0 +1 @@ +[https://github.com/ivankoma](https://github.com/ivankoma) - Empty ROM data in config.plist #14 \ No newline at end of file diff --git a/generate-unique-machine-values.sh b/generate-unique-machine-values.sh index 1cdd707..2dc4594 100755 --- a/generate-unique-machine-values.sh +++ b/generate-unique-machine-values.sh @@ -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 \