mirror of
https://github.com/sickcodes/osx-serial-generator.git
synced 2026-05-12 07:29:35 -06:00
Create ENV file if --bootdisks is on
This commit is contained in:
parent
238f135174
commit
ff1f373fbb
@ -295,7 +295,7 @@ EOF
|
||||
echo "Wrote CSV to: ${TSV_SERIAL_SETS_FILE}"
|
||||
|
||||
# make envs if --envs, but also if you set the env filename it will switch on by itself
|
||||
if [ "${CREATE_ENVS}" ] || [ "${OUTPUT_ENV}" ] || [ "${CREATE_PLISTS}" ]; then
|
||||
if [ "${CREATE_ENVS}" ] || [ "${OUTPUT_ENV}" ] || [ "${CREATE_PLISTS}" ] || [ "${CREATE_BOOTDISKS}" ]; then
|
||||
mkdir -p "${OUTPUT_DIRECTORY}/envs"
|
||||
OUTPUT_ENV_FILE="${OUTPUT_ENV:-"${OUTPUT_DIRECTORY}/envs/${SERIAL}.env.sh"}"
|
||||
touch "${OUTPUT_ENV_FILE}"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user