|
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
|
|
#
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
# Please add additional copyright information _after_ the line containing
|
|
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
|
|
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
|
|
#
|
|
# ROCK Linux: rock-src/package/hannes/checkpassword/makefile-head.patch
|
|
# ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
|
|
#
|
|
# 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.
|
|
#
|
|
# --- ROCK-COPYRIGHT-NOTE-END ---
|
|
|
|
--- ./Makefile.orig 2004-09-12 02:09:44.268271456 +0200
|
|
+++ ./Makefile 2004-09-12 02:10:01.125708736 +0200
|
|
@@ -22,7 +22,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
|
|
@@ -91,7 +91,7 @@
|
|
choose: \
|
|
warn-auto.sh choose.sh conf-home
|
|
cat warn-auto.sh choose.sh \
|
|
- | sed s}HOME}"`head -1 conf-home`"}g \
|
|
+ | sed s}HOME}"`head -n 1 conf-home`"}g \
|
|
> choose
|
|
chmod 755 choose
|
|
|
|
@@ -166,7 +166,7 @@
|
|
warn-auto.sh conf-ld
|
|
( cat warn-auto.sh; \
|
|
echo 'main="$$1"; shift'; \
|
|
- echo exec "`head -1 conf-ld`" \
|
|
+ echo exec "`head -n 1 conf-ld`" \
|
|
'-o "$$main" "$$main".o $${1+"$$@"}' \
|
|
) > load
|
|
chmod 755 load
|