Return to BSD News archive
Received: by minnie.vk1xwt.ampr.org with NNTP id AA1993 ; Wed, 24 Feb 93 13:00:24 EST Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!sun4nl!tuegate.tue.nl!svin09.info.win.tue.nl!wzv.win.tue.nl!gvr.win.tue.nl!guido From: guido@gvr.win.tue.nl (Guido van Rooij) Newsgroups: comp.os.386bsd.bugs Subject: newvers.sh changes Message-ID: <1mbh4o$nve@wzv.win.tue.nl> Date: 22 Feb 93 21:38:32 GMT Organization: Eindhoven University of Technology, The Netherlands Lines: 33 NNTP-Posting-Host: gvr.win.tue.nl The following patch does 2 things..first it doesn't increase the version number by 2 each time a new kernel is built. Further it adds the name of the kernel to vers.c. In the standard distribution, it means that in stead of: 386BSD 0.1.104 02/22/93 21:31 you will get 386BSD 0.1.104 (GVR) 02/22/93 21:31 as the first line of your etc/motd file. Here GVR is the configuration file name (in /sys/i386/conf). *** newvers.sh~ Mon Feb 22 22:32:17 1993 --- newvers.sh Mon Feb 22 22:33:23 1993 *************** *** 44,49 **** touch version v=`cat version` t=`date "+ %m/%d/%y %H:%M"` ( ! echo "char version[] = \"version: ${v} ${t}\";" ) > vers.c - echo `expr ${v} + 1` > version --- 44,48 ---- touch version v=`cat version` t=`date "+ %m/%d/%y %H:%M"` ( ! echo "char version[] = \"version: ${v} ($1) ${t}\";" ) > vers.c -- Guido van Rooij | Internet: guido@gvr.win.tue.nl Bisschopsmolen 16 | Phone: ++31.40.461433 5612 DS Eindhoven | ((12+144+20)+3*sqrt(4))/7 The Netherlands | +(5*11)=9^2+0