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.
gentoo-overlay/net-mail/checkpassword/files/0.90-head-1.patch

40 lines
1.2 KiB

diff -ur checkpassword-0.90.orig/Makefile checkpassword-0.90/Makefile
--- checkpassword-0.90.orig/Makefile 2003-09-03 12:06:23.225291952 -0400
+++ checkpassword-0.90/Makefile 2003-09-03 12:06:29.578326144 -0400
@@ -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
diff -ur checkpassword-0.90.orig/print-cc.sh checkpassword-0.90/print-cc.sh
--- checkpassword-0.90.orig/print-cc.sh 2003-09-03 12:06:23.227291648 -0400
+++ checkpassword-0.90/print-cc.sh 2003-09-03 12:06:34.308607032 -0400
@@ -1,4 +1,4 @@
-cc="`head -1 conf-cc`"
+cc="`head -n 1 conf-cc`"
systype="`cat systype`"
cat warn-auto.sh