You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

55 lines
1.7 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../mess822/head_n.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
--- ./Makefile.orig 2005-03-13 23:48:56.000000000 -0400
+++ ./Makefile 2005-03-13 23:49:32.000000000 -0400
@@ -108,8 +108,8 @@
auto-ccld.sh: \
conf-cc conf-ld warn-auto.sh
( cat warn-auto.sh; \
- echo CC=\'`head -1 conf-cc`\'; \
- echo LD=\'`head -1 conf-ld`\' \
+ echo CC=\'`head -n 1 conf-cc`\'; \
+ echo LD=\'`head -n 1 conf-ld`\' \
) > auto-ccld.sh
auto-str: \
@@ -122,7 +122,7 @@
auto_home.c: \
auto-str conf-home
- ./auto-str auto_home `head -1 conf-home` > auto_home.c
+ ./auto-str auto_home `head -n 1 conf-home` > auto_home.c
auto_home.o: \
compile auto_home.c
@@ -130,7 +130,7 @@
auto_qmail.c: \
auto-str conf-qmail
- ./auto-str auto_qmail `head -1 conf-qmail` > auto_qmail.c
+ ./auto-str auto_qmail `head -n 1 conf-qmail` > auto_qmail.c
auto_qmail.o: \
compile auto_qmail.c
@@ -637,7 +637,7 @@
rts: \
warn-auto.sh rts.sh conf-home
cat warn-auto.sh rts.sh \
- | sed s}HOME}"`head -1 conf-home`"}g \
+ | sed s}HOME}"`head -n 1 conf-home`"}g \
> rts
chmod 755 rts