Sync usage with man page.
[netbsd-mini2440.git] / sys / arch / sandpoint / stand / netboot / newvers.sh
blobb247896dd1fa427c04b66c9785a2ae0e2cf16a41
2 # Usage: newvers.sh <historyrecord>
4 while read vers comment
5 do
6 version=$vers
7 done < $1
8 developer=${USER:-"releng"}
9 [ -f /bin/hostname ] && buildhost=@`/bin/hostname`
10 date=`date`
12 cat <<EoF >vers.c
13 const char bootprog_rev[] = "$version";
14 const char bootprog_date[] = "$date";
15 const char bootprog_maker[] = "$developer$buildhost";
16 EoF