mirror of
https://github.com/mgcaret/rom4x.git
synced 2024-12-21 11:29:55 +00:00
modify dist.sh
This commit is contained in:
parent
8ea78bd613
commit
ee1faf6cc7
7
dist.sh
7
dist.sh
@ -3,7 +3,14 @@
|
||||
rm -f "romXx_dist-*.zip"
|
||||
ROM4X="rom4x/iic_rom4x.bin"
|
||||
ROM5X="rom5x/iic+_rom5x.bin"
|
||||
case `uname -s` in
|
||||
Linux)
|
||||
FNAME="romXx_dist-`date --rfc-3339=date`.zip"
|
||||
;;
|
||||
*)
|
||||
FNAME="romXx_dist-`date '+%Y-%M-%d'`.zip"
|
||||
;;
|
||||
esac
|
||||
[ -f "${ROM4X}" ] && zip "${FNAME}" "${ROM4X}"
|
||||
[ -f "${ROM5X}" ] && zip "${FNAME}" "${ROM5X}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user