RUSEFI virtual drive to spell out firmware version fix #4458

This commit is contained in:
rusefillc 2022-08-18 21:02:13 -04:00
parent c8c80515ed
commit d418a7f288
2 changed files with 4 additions and 0 deletions

View File

@ -39,8 +39,10 @@ if [[ $OSTYPE == 'darwin'* ]]; then
# Mac OS comes with Bash version 3 which is quite limiting and lack key features
current_date='huh-MAC'
else
bash --version
# bash >=4.3 magic
printf -v current_date '%(%Y-%m-%d)T' -1
echo [${current_date}]
fi
# Put the zip inside the filesystem

View File

@ -39,8 +39,10 @@ if [[ $OSTYPE == 'darwin'* ]]; then
# Mac OS comes with Bash version 3 which is quite limiting and lack key features
current_date='huh-MAC'
else
bash --version
# bash >=4.3 magic
printf -v current_date '%(%Y-%m-%d)T' -1
echo [${current_date}]
fi
# Put the zip inside the filesystem