* updated kmbox (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / security / checkpassword / head_n.patch
blobbd913c90d377a0ab94f7df2d55fb5e2807be5731
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../checkpassword/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-02-23 14:39:41.260995576 -0300
17 +++ ./Makefile 2005-02-23 14:40:11.397414144 -0300
18 @@ -22,7 +22,7 @@
20 auto_home.c: \
21 auto-str conf-home
22 - ./auto-str auto_home `head -1 conf-home` > auto_home.c
23 + ./auto-str auto_home `head -n 1 conf-home` > auto_home.c
25 auto_home.o: \
26 compile auto_home.c
27 @@ -91,7 +91,7 @@
28 choose: \
29 warn-auto.sh choose.sh conf-home
30 cat warn-auto.sh choose.sh \
31 - | sed s}HOME}"`head -1 conf-home`"}g \
32 + | sed s}HOME}"`head -n 1 conf-home`"}g \
33 > choose
34 chmod 755 choose
36 @@ -166,7 +166,7 @@
37 warn-auto.sh conf-ld
38 ( cat warn-auto.sh; \
39 echo 'main="$$1"; shift'; \
40 - echo exec "`head -1 conf-ld`" \
41 + echo exec "`head -n 1 conf-ld`" \
42 '-o "$$main" "$$main".o $${1+"$$@"}' \
43 ) > load
44 chmod 755 load
45 --- ./print-cc.sh.orig 2005-02-23 14:39:48.629875336 -0300
46 +++ ./print-cc.sh 2005-02-23 14:40:16.423650040 -0300
47 @@ -1,4 +1,4 @@
48 -cc="`head -1 conf-cc`"
49 +cc="`head -n 1 conf-cc`"
50 systype="`cat systype`"
52 cat warn-auto.sh