Diff for /src/sys/boot/common/newvers.sh between versions 1.3 and 1.4

version 1.3, 2003/11/10 06:08:31 version 1.4, 2004/01/25 22:50:20
Line 42  u=${USER-root} h=`hostname` t=`date` Line 42  u=${USER-root} h=`hostname` t=`date`
 #r=`head -n 6 $1 | tail -n 1 | awk -F: ' { print $1 } '`  #r=`head -n 6 $1 | tail -n 1 | awk -F: ' { print $1 } '`
 r=`awk -F: ' /^[0-9]\.[0-9]+:/ { print $1; exit }' $1`  r=`awk -F: ' /^[0-9]\.[0-9]+:/ { print $1; exit }' $1`
   
echo "char bootprog_name[] = \"FreeBSD/${3} ${2}\";" > vers.cecho "char bootprog_name[] = \"DragonFly/${3} ${2}\";" > vers.c
 echo "char bootprog_rev[] = \"${r}\";" >> vers.c  echo "char bootprog_rev[] = \"${r}\";" >> vers.c
 echo "char bootprog_date[] = \"${t}\";" >> vers.c  echo "char bootprog_date[] = \"${t}\";" >> vers.c
 echo "char bootprog_maker[] = \"${u}@${h}\";" >> vers.c  echo "char bootprog_maker[] = \"${u}@${h}\";" >> vers.c

Removed from v.1.3  
changed lines
  Added in v.1.4