Dash:
[t2.git] / package / mail / mess822 / head_n.patch
blobfe1a93ea9d2c109eb29621f821517b67eb204e15
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../mess822/head_n.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
16 --- ./Makefile.orig 2005-03-13 23:48:56.000000000 -0400
17 +++ ./Makefile 2005-03-13 23:49:32.000000000 -0400
18 @@ -108,8 +108,8 @@
19 auto-ccld.sh: \
20 conf-cc conf-ld warn-auto.sh
21 ( cat warn-auto.sh; \
22 - echo CC=\'`head -1 conf-cc`\'; \
23 - echo LD=\'`head -1 conf-ld`\' \
24 + echo CC=\'`head -n 1 conf-cc`\'; \
25 + echo LD=\'`head -n 1 conf-ld`\' \
26 ) > auto-ccld.sh
28 auto-str: \
29 @@ -122,7 +122,7 @@
31 auto_home.c: \
32 auto-str conf-home
33 - ./auto-str auto_home `head -1 conf-home` > auto_home.c
34 + ./auto-str auto_home `head -n 1 conf-home` > auto_home.c
36 auto_home.o: \
37 compile auto_home.c
38 @@ -130,7 +130,7 @@
40 auto_qmail.c: \
41 auto-str conf-qmail
42 - ./auto-str auto_qmail `head -1 conf-qmail` > auto_qmail.c
43 + ./auto-str auto_qmail `head -n 1 conf-qmail` > auto_qmail.c
45 auto_qmail.o: \
46 compile auto_qmail.c
47 @@ -637,7 +637,7 @@
48 rts: \
49 warn-auto.sh rts.sh conf-home
50 cat warn-auto.sh rts.sh \
51 - | sed s}HOME}"`head -1 conf-home`"}g \
52 + | sed s}HOME}"`head -n 1 conf-home`"}g \
53 > rts
54 chmod 755 rts