mirror of the now-defunct rocklinux.org
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.
 
 
 
 
 
 

33 lines
1.0 KiB

--- ./Makefile.orig 2004-09-07 05:16:38.584125576 +0200
+++ ./Makefile 2004-09-07 05:17:05.934967616 +0200
@@ -18,18 +18,18 @@
( echo '#!/bin/sh'; \
echo 'source=$$1; shift'; \
echo 'base=`echo "$$source" | sed -e s:\\\\.c$$::`'; \
- echo exec `head -1 conf-cc` '-I. -o $${base}.o -c $$source $${1+"$$@"}'; \
+ echo exec `head -n 1 conf-cc` '-I. -o $${base}.o -c $$source $${1+"$$@"}'; \
) >compile
chmod 755 compile
conf_bin.c: conf-bin
- head -1 conf-bin | \
+ head -n 1 conf-bin | \
sed -e 's/"/\\"/g' \
-e 's/^/const char conf_bin[] = "/' \
-e 's/$$/";/' >conf_bin.c
conf_man.c: conf-man
- head -1 conf-man | \
+ head -n 1 conf-man | \
sed -e 's/"/\\"/g' \
-e 's/^/const char conf_man[] = "/' \
-e 's/$$/";/' >conf_man.c
@@ -55,7 +55,7 @@
load: conf-ld
( echo '#!/bin/sh';\
echo 'main="$$1"; shift';\
- echo exec `head -1 conf-ld` '-o "$$main" "$$main.o" $${1+"$$@"}' -lsysdeps;\
+ echo exec `head -n 1 conf-ld` '-o "$$main" "$$main.o" $${1+"$$@"}' -lsysdeps;\
) >load
chmod 755 load