OSDN Git Service

archiso/mkarchiso: general bash improvements
authornl6720 <nl6720@gmail.com>
Sat, 1 Aug 2020 11:51:11 +0000 (14:51 +0300)
committernl6720 <nl6720@gmail.com>
Mon, 17 Aug 2020 11:22:24 +0000 (14:22 +0300)
commit0387b253c8ff90df30ad35883f710ddce3e04854
tree8ae05454e9f08d112c5629e28b45538740583801
parent951b2178131ff64c01c35529f718773a9fa058bb
archiso/mkarchiso: general bash improvements

Quote all variables.
Terminate option processing using '--' for commands that support it.
Do not hardcode file descriptor.
Compare integers with arithmetic comparison instead of string comparison.
Replace echo with printf.
Use heredoc for usage text.
Don't print INFO messages when quiet is set.
Export SOURCE_DATE_EPOCH.
archiso/mkarchiso