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.
53 lines
1.6 KiB
53 lines
1.6 KiB
13 years ago
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||
|
#
|
||
|
# Filename: package/.../clockspeed/0004-head_n.patch
|
||
|
# Copyright (C) 2011 The OpenSDE 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 ---
|
||
|
|
||
|
From 4926d1434666292a01fd3071bb8b7c0c9cbc3e93 Mon Sep 17 00:00:00 2001
|
||
|
From: Christian Wiese <christian.wiese@securepoint.de>
|
||
|
Date: Thu, 29 Sep 2011 14:25:32 +0200
|
||
|
Subject: [PATCH 4/6] Makefile: fix to use 'head -n 1' instead of 'head -1'
|
||
|
|
||
|
---
|
||
|
Makefile | 6 +++---
|
||
|
1 files changed, 3 insertions(+), 3 deletions(-)
|
||
|
|
||
|
diff --git a/Makefile b/Makefile
|
||
|
index d632e9b..c9baad6 100644
|
||
|
--- a/Makefile
|
||
|
+++ b/Makefile
|
||
|
@@ -7,8 +7,8 @@ default: it
|
||
|
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: \
|
||
|
@@ -21,7 +21,7 @@ compile auto-str.c substdio.h readwrite.h exit.h
|
||
|
|
||
|
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
|
||
|
--
|
||
|
1.6.6.2
|
||
|
|