ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/ermyth/src/version.sh
(Generate patch)

Comparing ermyth/src/version.sh (file contents):
Revision 1.1 by pippijn, Thu Jul 19 08:24:59 2007 UTC vs.
Revision 1.2 by pippijn, Sat Jul 21 01:29:13 2007 UTC

1#!/bin/sh 1#!/bin/sh
2# 2#
3# Copyright © 2007 Pippijn van Steenhoven / The Ermyth Team 3# Copyright © 2007 Pippijn van Steenhoven / The Ermyth Team
4# Copyright © 2005-2006 Atheme Development Group 4# Copyright © 2005-2006 Atheme Development Group
5# Rights to this code are documented in doc/LICENSE. 5# Rights to this code are documented in doc/pod/license.pod.
6# 6#
7# This file generates version.C. 7# This file generates version.C.
8# Stolen from ircd-ratbox. 8# Stolen from ircd-ratbox.
9# 9#
10# $Id: version.sh,v 1.1 2007/07/19 08:24:59 pippijn Exp $ 10# $Id: version.sh,v 1.2 2007/07/21 01:29:13 pippijn Exp $
11# 11#
12 12
13spitshell=cat 13spitshell=cat
14package=atheme 14package=atheme
15 15
33awk '{if (NF == 6) \ 33awk '{if (NF == 6) \
34 { print $1 " " $2 " " $3 " " $6 " at " $4 " " $5 } \ 34 { print $1 " " $2 " " $3 " " $6 " at " $4 " " $5 } \
35else \ 35else \
36 { print $1 " " $2 " " $3 " " $7 " at " $4 " " $5 " " $6 }}'` 36 { print $1 " " $2 " " $3 " " $7 " at " $4 " " $5 " " $6 }}'`
37 37
38buildid=`echo "\$Revision: 1.1 $" | \ 38buildid=`echo "\$Revision: 1.2 $" | \
39 awk '{ print $2 }'`; 39 awk '{ print $2 }'`;
40 40
41$spitshell >version.C <<!SUB!THIS! 41$spitshell >version.C <<!SUB!THIS!
42/* 42/*
43 * Copyright © 2007 The libservices team 43 * Copyright © 2007 The libservices team
44 * Copyright © 2005-2007 Atheme Development Group 44 * Copyright © 2005-2007 Atheme Development Group
45 * Rights to this code are documented in doc/LICENSE. 45 * Rights to this code are documented in doc/pod/license.pod.
46 * 46 *
47 * This file contains version information. 47 * This file contains version information.
48 * Autogenerated by version.sh. 48 * Autogenerated by version.sh.
49 */ 49 */
50 50

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines