RUSEFI virtual drive to spell out firmware version fix #4458
This commit is contained in:
parent
c8c80515ed
commit
d418a7f288
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue