Commit | Line | Data |
---|---|---|
f644bb55 DF |
1 | #!/bin/sh - |
2 | # | |
3 | # Copyright (c) 1983 Regents of the University of California. | |
4 | # All rights reserved. The Berkeley software License Agreement | |
5 | # specifies the terms and conditions for redistribution. | |
6 | # | |
7 | # @(#)newvers.sh 5.1 (Berkeley) %G% | |
8 | # | |
55f2f310 SL |
9 | if [ ! -r version ]; then echo 0 > version; fi |
10 | touch version | |
11 | awk ' { version = $1 + 1; }\ | |
12 | END { printf "char version[] = \"Version 4.%d ", version > "vers.c";\ | |
13 | printf "%d\n", version > "version"; }' < version | |
14 | echo `date`'";' >> vers.c |