mirror of
https://github.com/rsmarples/dhcpcd.git
synced 2024-11-23 01:56:55 +08:00
chore: stat isn't portable, wc is
This commit is contained in:
parent
6bb2a69338
commit
890169267c
3
Makefile
3
Makefile
@ -69,7 +69,8 @@ dist: ${DIST}
|
||||
distinfo: dist
|
||||
rm -f ${DISTINFO} ${DISTSIGN}
|
||||
${SHA256} ${DISTFILE} >${DISTINFO}
|
||||
stat -f "Size (${DISTFILE}) = %z" ${DISTFILE} >>${DISTINFO}
|
||||
wc -c <${DISTFILE} \
|
||||
| xargs printf 'Size (${DISTFILE}) = %s\n' >>${DISTINFO}
|
||||
${PGP} --armour --detach-sign ${DISTFILE}
|
||||
chmod 644 ${DISTSIGN}
|
||||
ls -l ${DISTFILE} ${DISTINFO} ${DISTSIGN}
|
||||
|
Loading…
Reference in New Issue
Block a user