blob: 59bd33b0f76032ee6b8cda1814f9ebe8d7fffc88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
--- a/make-compile.sh
+++ b/make-compile.sh
@@ -1 +1 @@
-echo exec "$CC" "`head -1 conf-includes`" -c '${1+"$@"}'
+echo exec "$CC" "`head -n 1 conf-includes`" -c '${1+"$@"}'
--- a/Makefile
+++ b/Makefile
@@ -17,8 +17,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: \
@@ -31,7 +31,7 @@
auto_home.c: \
auto-str conf-root
- ./auto-str auto_home `head -1 conf-root` > auto_home.c
+ ./auto-str auto_home `head -n 1 conf-root` > auto_home.c
auto_home.o: \
compile auto_home.c
@@ -161,7 +161,7 @@
maildir: \
warn-auto.sh maildir.sh conf-root
cat warn-auto.sh maildir.sh \
- | sed s}HOME}"`head -1 conf-root`"}g \
+ | sed s}HOME}"`head -n 1 conf-root`"}g \
> maildir
chmod 755 maildir
@@ -407,7 +407,7 @@
version.h: \
conf-version
@echo 'static const char *const version_string="$$Version:' \
- `head -1 conf-version` 'built' `date +"%b %d, %Y"` at \
+ `head -n 1 conf-version` 'built' `date +"%b %d, %Y"` at \
`date +"%H:%M"`'$$";' > version.h
writefile.o: \
|